Browse Source

有奖举报

feature/dangjian
wanggongfeng 3 years ago
parent
commit
a396680084
  1. 7
      esua-epdc/epdc-module/epdc-events/epdc-events-server/src/main/resources/mapper/issue/IssueDao.xml

7
esua-epdc/epdc-module/epdc-events/epdc-events-server/src/main/resources/mapper/issue/IssueDao.xml

@ -354,8 +354,11 @@
event.DEL_FLAG = '0'
and event.CREATED_TIME >= CURRENT_TIMESTAMP - INTERVAL 10 MINUTE
AND event.USER_ID = #{userId}
<if test="isCreateCity != null and isCreateCity != ''">
and event.IS_CREATE_CITY = #{isCreateCity}
<if test="isCreateCity != null and isCreateCity != '' and isCreateCity == '1'">
and event.IS_CREATE_CITY = '1'
</if>
<if test="isCreateCity != null and isCreateCity != '' and isCreateCity == '0'">
and event.IS_CREATE_CITY != '1'
</if>
limit 1
</select>

Loading…
Cancel
Save