Browse Source

灵山项目:修改参数判断错误

master
luyan 2 years ago
parent
commit
4de26b24a5
  1. 9
      epmet-module/gov-project/gov-project-server/src/main/resources/mapper/IcEventDao.xml

9
epmet-module/gov-project/gov-project-server/src/main/resources/mapper/IcEventDao.xml

@ -686,14 +686,17 @@
SELECT
<include refid="eventArguments"/>
FROM ic_event e
LEFT JOIN ic_event_reply r ON r.IC_EVENT_ID = e.ID AND r.FROM_USER_ID = #{staffId}
LEFT JOIN ic_event_reply r ON r.IC_EVENT_ID = e.ID
<if test="null != staffId and staffId != ''">
AND r.FROM_USER_ID = #{staffId}
</if>
LEFT JOIN ic_event_category c ON c.IC_EVENT_ID = e.ID
<where>
e.DEL_FLAG = 0
<if test="replyStatus == '0'">
<if test="replyStatus == 0">
AND (e.REPLY_STATUS = 0 OR e.REPLY_STATUS = 1 OR e.REPLY_STATUS IS NULL)
</if>
<if test="replyStatus == '1'">
<if test="replyStatus == 1">
AND (e.REPLY_STATUS = 2 OR e.REPLY_STATUS = 3 OR e.REPLY_STATUS = 4 OR e.REPLY_STATUS = 5)
</if>
</where>

Loading…
Cancel
Save