Commit 2f9ff938 authored by libin's avatar libin

车型优化

parent 3ad39b1a
...@@ -64,11 +64,17 @@ public class Vehicle { ...@@ -64,11 +64,17 @@ public class Vehicle {
*/ */
private Integer insuranceCompany; private Integer insuranceCompany;
private Integer strongInsuranceCompany;
/** /**
* 保险单号 * 保险单号
*/ */
private String insuranceNo; private String insuranceNo;
/**
* 强险单号
*/
private String strongInsuranceNo;
/** /**
* 保险开始时间 * 保险开始时间
...@@ -80,6 +86,11 @@ public class Vehicle { ...@@ -80,6 +86,11 @@ public class Vehicle {
*/ */
private Date insuranceEndDate; private Date insuranceEndDate;
/**
* 强险的结束时间
*/
private Date strongInsuranceEndDate;
/** /**
* 年审时间 * 年审时间
*/ */
......
...@@ -68,12 +68,14 @@ public class AddOrUpdateVehicleVo { ...@@ -68,12 +68,14 @@ public class AddOrUpdateVehicleVo {
* 保险公司,见常量表 * 保险公司,见常量表
*/ */
private Integer insuranceCompany; private Integer insuranceCompany;
private Integer strongInsuranceCompany;
/** /**
* 保险单号 * 保险单号
*/ */
private String insuranceNo; private String insuranceNo;
private String strongInsuranceNo;
/** /**
* 保险开始时间 * 保险开始时间
...@@ -84,6 +86,7 @@ public class AddOrUpdateVehicleVo { ...@@ -84,6 +86,7 @@ public class AddOrUpdateVehicleVo {
* 保险结束时间 * 保险结束时间
*/ */
private Date insuranceEndDate; private Date insuranceEndDate;
private Date strongInsuranceEndDate;
/** /**
* 年审时间 * 年审时间
......
...@@ -138,4 +138,6 @@ public class VehiclePageQueryVo { ...@@ -138,4 +138,6 @@ public class VehiclePageQueryVo {
*/ */
private Integer modelId; private Integer modelId;
} }
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
and v.belong_to_name like concat('%',#{belongToName},'%') and v.belong_to_name like concat('%',#{belongToName},'%')
</if> </if>
<if test="vin !=null and vin != ''"> <if test="vin !=null and vin != ''">
and v.vin = #{vin} and v.vin like CONCAT('%',{#{vin},'%')
</if> </if>
<!-- <if test="subordinateBranch !=null">--> <!-- <if test="subordinateBranch !=null">-->
<!-- and v.subordinate_branch = #{subordinateBranch}--> <!-- and v.subordinate_branch = #{subordinateBranch}-->
...@@ -280,7 +280,7 @@ ...@@ -280,7 +280,7 @@
and v.belong_to_name like concat('%',#{belongToName},'%') and v.belong_to_name like concat('%',#{belongToName},'%')
</if> </if>
<if test="vin !=null and vin != ''"> <if test="vin !=null and vin != ''">
and v.vin = #{vin} and v.vin like CONCAT('%',{#{vin},'%')
</if> </if>
<!-- <if test="subordinateBranch !=null">--> <!-- <if test="subordinateBranch !=null">-->
<!-- and v.subordinate_branch = #{subordinateBranch}--> <!-- and v.subordinate_branch = #{subordinateBranch}-->
......
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