情况使用如下,做个记录
<if test="null != pubSentimentNewsType and pubSentimentNewsType.size>0">and tnpf.pub_sentiment_news_type in<foreach collection="pubSentimentNewsType" item="item" open="(" separator="," close=")">#{item}</foreach></if>
情况使用如下,做个记录
<if test="null != pubSentimentNewsType and pubSentimentNewsType.size>0">and tnpf.pub_sentiment_news_type in<foreach collection="pubSentimentNewsType" item="item" open="(" separator="," close=")">#{item}</foreach></if>