Commit a7c080ea by huluobin

# 费用系统 小程序

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