|
@@ -4,7 +4,7 @@
|
|
|
|
|
|
|
|
<!-- 查询最近10分钟内的数据(多siteid条件) -->
|
|
<!-- 查询最近10分钟内的数据(多siteid条件) -->
|
|
|
<select id="selectRecentDataBySiteids" resultType="com.trs.wcmids.entity.Wcmmetatablegovdocnews">
|
|
<select id="selectRecentDataBySiteids" resultType="com.trs.wcmids.entity.Wcmmetatablegovdocnews">
|
|
|
- select wd.docid,w.doctitle,w.dochtmlcon,w.docreltime,wd.crtime,wd.opertime,w.docreltime,w.channelid,w.docsourcename,wc.chnldesc,wd.docpuburl,wd.docstatus,wd.siteid from wcmmetatablegovdocnews w
|
|
|
|
|
|
|
+ select wd.docid,w.doctitle,w.dochtmlcon,w.docreltime,wd.crtime,wd.opertime,w.docreltime,wd.docchannel as channelid,w.docsourcename,wc.chnldesc,wd.docpuburl,wd.docstatus,wd.siteid from wcmmetatablegovdocnews w
|
|
|
left join wcmdocument wd on w.metadataid=wd.docid
|
|
left join wcmdocument wd on w.metadataid=wd.docid
|
|
|
left join wcmchannel wc on wc.channelid=wd.docchannel
|
|
left join wcmchannel wc on wc.channelid=wd.docchannel
|
|
|
left join wcmchnldoc wcd on wcd.docid=wd.docid
|
|
left join wcmchnldoc wcd on wcd.docid=wd.docid
|