修复专项、来函查询界面仅按照终止时间检索错误
This commit is contained in:
@@ -69,11 +69,17 @@
|
||||
<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>
|
||||
<if test="dobeginDate!=null and dobeginDate!='' and doendDate!=null and doendDate!=''">
|
||||
AND r.edit_time between #{dobeginDate} and #{doendDate}
|
||||
<if test="beginDate!=null and beginDate!=''">
|
||||
AND r.request_time >= #{beginDate}
|
||||
</if>
|
||||
<if test="endDate!=null and endDate!=''">
|
||||
AND r.request_time <= #{endDate}
|
||||
</if>
|
||||
<if test="dobeginDate!=null and dobeginDate!='' ">
|
||||
AND r.edit_time >= #{dobeginDate}
|
||||
</if>
|
||||
<if test="doendDate!=null and doendDate!=''">
|
||||
AND r.edit_time <= #{doendDate}
|
||||
</if>
|
||||
<!-- 数据范围过滤 -->
|
||||
${sqlMap.dsf}
|
||||
|
||||
@@ -65,11 +65,17 @@
|
||||
<if test="isAudit != null">
|
||||
AND r.is_audit=${isAudit}
|
||||
</if>
|
||||
<if test="beginDate!=null and beginDate!='' and endDate!=null and endDate!=''">
|
||||
AND r.task_time between #{beginDate} and #{endDate}
|
||||
<if test="beginDate!=null and beginDate!='' ">
|
||||
AND r.task_time >= #{beginDate}
|
||||
</if>
|
||||
<if test="dobeginDate!=null and dobeginDate!='' and doendDate!=null and doendDate!=''">
|
||||
AND r.edit_time between #{dobeginDate} and #{doendDate}
|
||||
<if test="endDate!=null and endDate!=''">
|
||||
AND r.task_time <= #{endDate}
|
||||
</if>
|
||||
<if test="dobeginDate!=null and dobeginDate!='' ">
|
||||
AND r.edit_time >= #{dobeginDate}
|
||||
</if>
|
||||
<if test="doendDate!=null and doendDate!=''">
|
||||
AND r.edit_time <= #{doendDate}
|
||||
</if>
|
||||
|
||||
<!-- 数据范围过滤 -->
|
||||
|
||||
Reference in New Issue
Block a user