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
c45efc50
Commit
c45efc50
authored
Jun 05, 2019
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改明细,车型检索等
parent
82346222
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
VehicleMapper.xml
...ehicle-server/src/main/resources/mapper/VehicleMapper.xml
+2
-2
No files found.
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleMapper.xml
View file @
c45efc50
...
@@ -247,7 +247,7 @@
...
@@ -247,7 +247,7 @@
resultMap=
"searchUsableModelMap"
>
resultMap=
"searchUsableModelMap"
>
select distinct vm.id as model_id, bc.id as company_id
select distinct vm.id as model_id, bc.id as company_id
<if
test=
" catas != null "
>
<if
test=
" catas != null "
>
GROUP_CONCAT(vc.cata_id) as catas,
,GROUP_CONCAT(vc.cata_id) as catas
</if>
</if>
<if
test=
"lon != null and lat != null"
>
<if
test=
"lon != null and lat != null"
>
,st_distance_sphere(point(#{lon}, #{lat}), point(bc.longitude, bc.latitude)) as distance
,st_distance_sphere(point(#{lon}, #{lat}), point(bc.longitude, bc.latitude)) as distance
...
@@ -266,7 +266,7 @@
...
@@ -266,7 +266,7 @@
<if
test=
" cIndex != 0"
>
<if
test=
" cIndex != 0"
>
&
&
</if>
</if>
FIND_IN_SET(
vc.cata_id
,catas)
FIND_IN_SET(
#{cata.id}
,catas)
</foreach>
</foreach>
)
)
</foreach>
</foreach>
...
...
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