Browse Source

【内容审核】-【后台列表添加搜索条件】-(王童)-2020/07/17

feature/dangjian
Jackwang 6 years ago
parent
commit
32229012ac
  1. 9
      esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/mapper/CheckRecordsDao.xml
  2. 3
      esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/mapper/ViolationsRecordsDao.xml

9
esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/mapper/CheckRecordsDao.xml

@ -59,6 +59,15 @@
<if test="module != null and module != ''">
and mo.DESCRIPTION like '%${module}%'
</if>
<if test="systemStatus != null and systemStatus != ''">
and ecr.SYSTEM = #{systemStatus}
</if>
<if test="mobile != null and mobile != ''">
and ecr.mobile like '%${mobile}%'
</if>
<if test="suggestion != null and suggestion != ''">
and ecr.SUGGESTION = #{suggestion}
</if>
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
AND DATE_FORMAT( ecr.CREATED_TIME, '%Y-%m-%d' ) BETWEEN #{startTime} AND #{endTime}
</if>

3
esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/mapper/ViolationsRecordsDao.xml

@ -55,6 +55,9 @@
<if test="module != null and module != ''">
and mo.DESCRIPTION like '%${module}%'
</if>
<if test="mobile != null and mobile != ''">
and evr.mobile like '%${mobile}%'
</if>
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
AND DATE_FORMAT( evr.CREATED_TIME, '%Y-%m-%d' ) BETWEEN #{startTime} AND #{endTime}
</if>

Loading…
Cancel
Save