Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform
Commits
fb981f47
Commit
fb981f47
authored
Aug 27, 2020
by
unset
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-vehicle-price' into dev-tiande
parents
365974c2
2d68fe41
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
3 deletions
+30
-3
VehiclePageQueryVo.java
...va/com/xxfc/platform/vehicle/pojo/VehiclePageQueryVo.java
+11
-1
VehicleMapper.xml
...ehicle-server/src/main/resources/mapper/VehicleMapper.xml
+19
-2
No files found.
xx-vehicle/xx-vehicle-api/src/main/java/com/xxfc/platform/vehicle/pojo/VehiclePageQueryVo.java
View file @
fb981f47
...
...
@@ -28,9 +28,19 @@ public class VehiclePageQueryVo {
private
Integer
brand
;
/**
* 所属
分支机构
(id)
* 所属
门店
(id)
*/
private
Integer
subordinateBranch
;
/**
* 停靠门店
*/
private
Integer
parkBranchCompanyId
;
/**
* 所属公司
*/
private
Integer
companyId
;
/**
* 所属省份(id)
*/
...
...
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleMapper.xml
View file @
fb981f47
...
...
@@ -172,6 +172,12 @@
<if
test=
"subordinateBranch !=null "
>
and ( v.park_branch_company_id = #{subordinateBranch})
</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"
>
and bc.addr_province=#{addrProvince}
...
...
@@ -339,8 +345,13 @@
</foreach>
</if>
<if
test=
"subordinateBranch !=null "
>
and ( v.park_branch_company_id = #{subordinateBranch} or
v.expect_destination_branch_company_id=#{subordinateBranch} )
and ( v.park_branch_company_id = #{subordinateBranch})
</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"
>
...
...
@@ -458,6 +469,12 @@
<if
test=
"subordinateBranch !=null "
>
and ( v.park_branch_company_id = #{subordinateBranch})
</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"
>
and bc.addr_province=#{addrProvince}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment