专项和来函列表不展示删除状态的数据

This commit is contained in:
duandongmei
2018-07-27 15:29:27 +08:00
parent 42d0807146
commit 78e47ac599
4 changed files with 8 additions and 0 deletions

View File

@@ -66,6 +66,9 @@
<if test="isValid != null">
AND r.is_valid=${isValid}
</if>
<if test="isValid == null">
AND r.IS_VALID != -1
</if>
<if test="beginDate!=null and beginDate!='' and endDate!=null and endDate!=''">
AND r.request_time between #{beginDate} and #{endDate}
</if>

View File

@@ -55,6 +55,9 @@
<if test="page !=null and page.where != null and page.where != ''">
AND ${page.where}
</if>
<if test="isValid == null">
AND r.IS_VALID != -1
</if>
<if test="taskName != null and taskName != ''">
AND r.task_name like
<if test="dbName == 'mysql'">CONCAT('%',#{taskName}, '%')</if>