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
16ee86e0
Commit
16ee86e0
authored
Sep 24, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改车型列表
parent
c43fa74d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
VehicleModelQueryCondition.java
...xfc/platform/vehicle/pojo/VehicleModelQueryCondition.java
+3
-0
VehicleModelMapper.xml
...e-server/src/main/resources/mapper/VehicleModelMapper.xml
+8
-2
No files found.
xx-vehicle/xx-vehicle-api/src/main/java/com/xxfc/platform/vehicle/pojo/VehicleModelQueryCondition.java
View file @
16ee86e0
...
@@ -34,4 +34,7 @@ public class VehicleModelQueryCondition {
...
@@ -34,4 +34,7 @@ public class VehicleModelQueryCondition {
String
notInIds
;
String
notInIds
;
@ApiModelProperty
(
value
=
"分类列表"
,
hidden
=
true
)
@ApiModelProperty
(
value
=
"分类列表"
,
hidden
=
true
)
Map
<
Integer
,
List
<
VehiclePlatCata
>>
catas
;
Map
<
Integer
,
List
<
VehiclePlatCata
>>
catas
;
@ApiModelProperty
(
value
=
"分类列表(1-后台,2-app和小程序)"
,
hidden
=
true
)
private
Integer
pathType
=
2
;
}
}
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleModelMapper.xml
View file @
16ee86e0
...
@@ -17,9 +17,15 @@
...
@@ -17,9 +17,15 @@
<if
test=
"isDel !=null "
>
<if
test=
"isDel !=null "
>
and isdel=#{isDel}
and isdel=#{isDel}
</if>
</if>
<if
test=
"
status != null
"
>
<if
test=
"
pathType ==2
"
>
and status =
#{status}
and status =
1
</if>
</if>
<if
test=
"pathType!=2"
>
<if
test=
"status != null"
>
and status = #{status}
</if>
</if>
<if
test=
"vehicleName !=null and vehicleName !=''"
>
<if
test=
"vehicleName !=null and vehicleName !=''"
>
AND vmqc.name LIKE CONCAT('%',#{vehicleName},'%')
AND vmqc.name LIKE CONCAT('%',#{vehicleName},'%')
</if>
</if>
...
...
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