Commit 06bcf2e9 by 翁国栋 Committed by 284718418@qq.com

8小时后台--

更新查询条件
parent 9151f508
...@@ -45,4 +45,5 @@ public class PolicyDto { ...@@ -45,4 +45,5 @@ public class PolicyDto {
private Integer policyId; private Integer policyId;
private Integer applyType; private Integer applyType;
private String monthD; private String monthD;
private String userName;
} }
...@@ -329,6 +329,12 @@ ...@@ -329,6 +329,12 @@
<if test="policyDto.policyDateStart !=null and policyDto.policyDateStart !='' and policyDto.policyDateEnd !=null and policyDto.policyDateEnd !=''"> <if test="policyDto.policyDateStart !=null and policyDto.policyDateStart !='' and policyDto.policyDateEnd !=null and policyDto.policyDateEnd !=''">
and iu.create_time BETWEEN #{policyDto.policyDateStart} and #{policyDto.policyDateEnd} and iu.create_time BETWEEN #{policyDto.policyDateStart} and #{policyDto.policyDateEnd}
</if> </if>
<if test="policyDto.userName !=null and policyDto.userName !='' ">
and yme.`name` like CONCAT('%',#{policyDto.userName},'%')
</if>
<if test="policyDto.zjNum !=null and policyDto.zjNum !='' ">
and yme.zj_num like CONCAT('%',#{policyDto.zjNum},'%')
</if>
</where> </where>
order by iu.create_time desc order by iu.create_time desc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment