Browse Source

Merge remote-tracking branch 'origin/dev_voice' into dev_voice

master
jianjun 5 years ago
parent
commit
95b2ccb52e
  1. 4
      epmet-module/gov-voice/gov-voice-server/src/main/resources/mapper/ArticleDao.xml

4
epmet-module/gov-voice/gov-voice-server/src/main/resources/mapper/ArticleDao.xml

@ -114,13 +114,15 @@
apr.GRID_ID = #{gridId}
</foreach>
) t
WHERE
1 = 1
<if test="tagIdList !=null and tagIdList.size() > 0">
<foreach collection="tagIdList" item="tagId" separator=" ">
AND EXISTS(
SELECT 1
FROM ARTICLE_TAGS
WHERE DEL_FLAG = '0'
AND ARTICLE_ID = a.ID
AND ARTICLE_ID = t.articleId
AND TAG_ID=#{tagId}
)
</foreach>

Loading…
Cancel
Save