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
c35a9471
Commit
c35a9471
authored
Jun 05, 2019
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改车型检索bug等
parent
c45efc50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
VehicleMapper.xml
...ehicle-server/src/main/resources/mapper/VehicleMapper.xml
+4
-4
No files found.
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleMapper.xml
View file @
c35a9471
...
@@ -259,14 +259,14 @@
...
@@ -259,14 +259,14 @@
<!-- 循环 相同父级 数据做并集, 不同父级做或集 -->
<!-- 循环 相同父级 数据做并集, 不同父级做或集 -->
<if
test=
" catas != null "
>
<if
test=
" catas != null "
>
having (
0
having (
1
<foreach
collection=
"catas"
index=
"key"
item=
"cataList"
>
<foreach
collection=
"catas"
index=
"key"
item=
"cataList"
>
|
(
&
(
<foreach
collection=
"cataList"
index=
"cIndex"
item=
"cata"
>
<foreach
collection=
"cataList"
index=
"cIndex"
item=
"cata"
>
<if
test=
" cIndex != 0"
>
<if
test=
" cIndex != 0"
>
&
|
</if>
</if>
FIND_IN_SET(#{cata.id},catas
)
(case when FIND_IN_SET(#{cata.id},catas) > 0 then 1 else 0 end
)
</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