Commit 5c47792c by huluobin

# update

parent 62fcd276
...@@ -28,6 +28,8 @@ public class AppCheckCostListReq { ...@@ -28,6 +28,8 @@ public class AppCheckCostListReq {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private LocalDateTime endTime; private LocalDateTime endTime;
private String costNo;
private String createUserName; private String createUserName;
} }
...@@ -29,6 +29,8 @@ public class AppCostListReq { ...@@ -29,6 +29,8 @@ public class AppCostListReq {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private LocalDateTime endTime; private LocalDateTime endTime;
private String costNo;
private String createUserName; private String createUserName;
} }
...@@ -427,6 +427,9 @@ ...@@ -427,6 +427,9 @@
<if test=" req.createUserName!=null"> <if test=" req.createUserName!=null">
and t1.create_username like concat('%',#{req.createUserName},'%') and t1.create_username like concat('%',#{req.createUserName},'%')
</if> </if>
<if test=" req.costNo!=null and req.costNo!='' ">
and t1.cost_no like concat('%',#{req.costNo},'%')
</if>
group by t1.id group by t1.id
order by t1.create_time desc order by t1.create_time desc
</select> </select>
...@@ -445,6 +448,9 @@ ...@@ -445,6 +448,9 @@
<if test=" req.createUserName!=null"> <if test=" req.createUserName!=null">
and create_username like concat('%',#{req.createUserName},'%') and create_username like concat('%',#{req.createUserName},'%')
</if> </if>
<if test=" req.costNo!=null and req.costNo!='' ">
and cost_no like concat('%',#{req.costNo},'%')
</if>
</select> </select>
<!--待部门审核--> <!--待部门审核-->
......
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