Browse Source

fix:查询属实错误

master
buaixuexideshitongxue 2 weeks ago
parent
commit
207eee9bc9
  1. 4
      src/main/resources/mapper/ComplaintCollectionMapper.xml

4
src/main/resources/mapper/ComplaintCollectionMapper.xml

@ -258,10 +258,10 @@
</foreach> </foreach>
</if> </if>
<if test="param.checkStatus != null and param.checkStatus != ''"> <if test="param.checkStatus != null and param.checkStatus != ''">
AND cc.check_status = #{param.checkStatus} AND n.check_status_code = #{param.checkStatus}
</if> </if>
<if test="param.checkStatusList != null and param.checkStatusList.size > 0"> <if test="param.checkStatusList != null and param.checkStatusList.size > 0">
AND cc.check_status IN AND n.check_status_code IN
<foreach collection="param.checkStatusList" item="item" open="(" separator="," close=")"> <foreach collection="param.checkStatusList" item="item" open="(" separator="," close=")">
#{item} #{item}
</foreach> </foreach>

Loading…
Cancel
Save