Commit cfe9521f by huluobin

cost req

parent 5702c18c
...@@ -28,5 +28,7 @@ public class AppCostListReq { ...@@ -28,5 +28,7 @@ public class AppCostListReq {
private LocalDateTime startTime; private LocalDateTime startTime;
@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 createUserName;
} }
...@@ -446,7 +446,7 @@ ...@@ -446,7 +446,7 @@
and t1.create_time <=#{req.endTime} and t1.create_time <=#{req.endTime}
</if> </if>
<if test=" req.createUserName!=null"> <if test=" req.createUserName!=null">
and t1.create_user_name like concat('%',#{req.createUserName},'%') and t1.create_username like concat('%',#{req.createUserName},'%')
</if> </if>
group by t1.id group by t1.id
order by t1.create_time desc order by t1.create_time desc
...@@ -463,6 +463,9 @@ ...@@ -463,6 +463,9 @@
<if test=" req.endTime!=null"> <if test=" req.endTime!=null">
and create_time &lt;=#{req.endTime} and create_time &lt;=#{req.endTime}
</if> </if>
<if test=" req.createUserName!=null">
and create_username like concat('%',#{req.createUserName},'%')
</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