INSERT INTO article SET title=#{title},mdContent=#{mdContent},htmlContent=#{htmlContent},summary=#{summary},cid=#{cid},uid=#{uid},publishDate=#{publishDate},state=#{state},editTime=#{editTime}
UPDATE article set pageView=pageView+1 WHERE id=#{aid}
UPDATE article SET
title=#{title},mdContent=#{mdContent},htmlContent=#{htmlContent},summary=#{summary},cid=#{cid},editTime=#{editTime}
,state=1
,publishDate=#{publishDate}
WHERE id=#{id}
UPDATE article SET state=#{state} WHERE id IN
#{aid}
UPDATE article SET state=#{state} WHERE id = #{articleId}
DELETE FROM article WHERE id IN
#{aid}
INSERT INTO pv(countDate,pv,uid) SELECT CURRENT_DATE(),totalPv-pv,t.`uid` FROM pvview p,totalpvview t WHERE p.`uid`=t.`uid`