Commit 2d68fe41 authored by unset's avatar unset

修改车辆信息

parent 6b744cf9
...@@ -28,9 +28,19 @@ public class VehiclePageQueryVo { ...@@ -28,9 +28,19 @@ public class VehiclePageQueryVo {
private Integer brand; private Integer brand;
/** /**
* 所属分支机构(id) * 所属门店(id)
*/ */
private Integer subordinateBranch; private Integer subordinateBranch;
/**
* 停靠门店
*/
private Integer parkBranchCompanyId;
/**
* 所属公司
*/
private Integer companyId;
/** /**
* 所属省份(id) * 所属省份(id)
*/ */
......
...@@ -172,6 +172,12 @@ ...@@ -172,6 +172,12 @@
<if test="subordinateBranch !=null "> <if test="subordinateBranch !=null ">
and ( v.park_branch_company_id = #{subordinateBranch}) and ( v.park_branch_company_id = #{subordinateBranch})
</if> </if>
<if test="parkBranchCompanyId !=null ">
and ( bc.id = #{parkBranchCompanyId})
</if>
<if test="companyId !=null ">
and ( ci.id = #{companyId})
</if>
<if test=" addrProvince !=null or addrCity !=null or zoneId !=null "> <if test=" addrProvince !=null or addrCity !=null or zoneId !=null ">
<if test="addrProvince !=null"> <if test="addrProvince !=null">
and bc.addr_province=#{addrProvince} and bc.addr_province=#{addrProvince}
...@@ -339,8 +345,13 @@ ...@@ -339,8 +345,13 @@
</foreach> </foreach>
</if> </if>
<if test="subordinateBranch !=null "> <if test="subordinateBranch !=null ">
and ( v.park_branch_company_id = #{subordinateBranch} or and ( v.park_branch_company_id = #{subordinateBranch})
v.expect_destination_branch_company_id=#{subordinateBranch} ) </if>
<if test="parkBranchCompanyId !=null ">
and ( bc.id = #{parkBranchCompanyId})
</if>
<if test="companyId !=null ">
and ( ci.id = #{companyId})
</if> </if>
<if test=" addrProvince !=null or addrCity !=null or zoneId !=null "> <if test=" addrProvince !=null or addrCity !=null or zoneId !=null ">
<if test="addrProvince !=null"> <if test="addrProvince !=null">
...@@ -458,6 +469,12 @@ ...@@ -458,6 +469,12 @@
<if test="subordinateBranch !=null "> <if test="subordinateBranch !=null ">
and ( v.park_branch_company_id = #{subordinateBranch}) and ( v.park_branch_company_id = #{subordinateBranch})
</if> </if>
<if test="parkBranchCompanyId !=null ">
and ( bc.id = #{parkBranchCompanyId})
</if>
<if test="companyId !=null ">
and ( ci.id = #{companyId})
</if>
<if test=" addrProvince !=null or addrCity !=null or zoneId !=null "> <if test=" addrProvince !=null or addrCity !=null or zoneId !=null ">
<if test="addrProvince !=null"> <if test="addrProvince !=null">
and bc.addr_province=#{addrProvince} and bc.addr_province=#{addrProvince}
......
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