Commit 51f1dddc authored by jiaorz's avatar jiaorz

修改提前还车逻辑

parent 03befd42
......@@ -39,7 +39,7 @@ public class VehiclePlanDto extends PageParam {
*/
private Integer useType;
private Integer code;
private String keywords;
/**
* 车型id
......
......@@ -423,6 +423,9 @@
<if test="code != null and code != ''">
and v1.code = #{code}
</if>
<if test="keywords != null and keywords != ''">
and v1.code like concat("%", #{code} "%") or v1.number_plate like concat("%", #{numberPlate} "%")
</if>
<if test="companyIds != null and companyIds.size > 0">
and v1.park_branch_company_id in
<foreach collection="companyIds" item="id" open="(" separator="," close=")">
......
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