Commit ee64416c authored by jiaorz's avatar jiaorz

增加车辆修改打印错误日志

parent 6816b811
...@@ -33,6 +33,15 @@ public class VehicleBookRecordQueryVo extends PageParam { ...@@ -33,6 +33,15 @@ public class VehicleBookRecordQueryVo extends PageParam {
*/ */
private String selectedMonth; private String selectedMonth;
/**
* 查询预定开始月份 yyyy-MM
*/
private String bookStartDate;
/**
* 查询预定结束月份 yyyy-MM
*/
private String bookEndDate;
/** /**
* 申请状态 * 申请状态
*/ */
......
...@@ -471,6 +471,12 @@ ...@@ -471,6 +471,12 @@
and (v1.book_start_date like CONCAT(#{selectedMonth}, "%") or v1.book_end_date like and (v1.book_start_date like CONCAT(#{selectedMonth}, "%") or v1.book_end_date like
CONCAT(#{selectedMonth}, "%")) CONCAT(#{selectedMonth}, "%"))
</if> </if>
<if test="bookStartDate != null">
and v1.book_start_date like CONCAT(#{bookStartDate}, "%")
</if>
<if test="bookEndDate != null">
and v1.book_end_date like CONCAT(#{bookEndDate}, "%")
</if>
<if test="numberPlate != null"> <if test="numberPlate != null">
and v3.number_plate like concat('%', #{numberPlate}, '%') and v3.number_plate like concat('%', #{numberPlate}, '%')
</if> </if>
......
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