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
6a5624a5
Commit
6a5624a5
authored
Sep 12, 2019
by
libin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-bug' into dev
parents
39f47828
4f460617
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
20 deletions
+12
-20
VehicleMapper.xml
...ehicle-server/src/main/resources/mapper/VehicleMapper.xml
+12
-20
No files found.
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleMapper.xml
View file @
6a5624a5
...
...
@@ -154,19 +154,15 @@
v.expect_destination_branch_company_id=#{subordinateBranch} )
</if>
<if
test=
" addrProvince !=null or addrCity !=null or zoneId !=null "
>
and (
<trim
suffixOverrides=
"OR"
>
<if
test=
"addrProvince !=null"
>
(bc.addr_province=#{addrProvince} or bc1.addr_province=#{addrProvince}) OR
and bc.addr_province=#{addrProvince}
</if>
<if
test=
"addrCity !=null"
>
(bc.addr_city=#{addrProvince} or bc1.addr_city=#{addrProvince}) OR
and bc.addr_city=#{addrCity}
</if>
<if
test=
"zoneId !=null"
>
(bc.zone_id=#{zoneId} or bc1.zone_id=#{zoneId}) OR
and bc.zone_id=#{zoneId}
</if>
</trim>
)
</if>
order by v.code
) r ORDER BY r.parkBranchCompanyName
...
...
@@ -310,19 +306,15 @@
v.expect_destination_branch_company_id=#{subordinateBranch} )
</if>
<if
test=
" addrProvince !=null or addrCity !=null or zoneId !=null "
>
and (
<trim
suffixOverrides=
"OR"
>
<if
test=
"addrProvince !=null"
>
(bc.addr_province=#{addrProvince} or bc1.addr_province=#{addrProvince}) OR
</if>
<if
test=
"addrCity !=null"
>
(bc.addr_city=#{addrProvince} or bc1.addr_city=#{addrProvince}) OR
</if>
<if
test=
"zoneId !=null"
>
(bc.zone_id=#{zoneId} or bc1.zone_id=#{zoneId}) OR
</if>
</trim>
)
<if
test=
"addrProvince !=null"
>
and bc.addr_province=#{addrProvince}
</if>
<if
test=
"addrCity !=null"
>
and bc.addr_city=#{addrCity}
</if>
<if
test=
"zoneId !=null"
>
and bc.zone_id=#{zoneId}
</if>
</if>
order by v.code
) r ORDER BY r.parkBranchCompanyName
...
...
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