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
f5e3e367
Commit
f5e3e367
authored
Dec 17, 2020
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加接口
parent
eb94c37b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
UsableVeicleDTO.java
.../java/com/xxfc/platform/vehicle/pojo/UsableVeicleDTO.java
+2
-0
VehicleMapper.xml
...ehicle-server/src/main/resources/mapper/VehicleMapper.xml
+7
-2
No files found.
xx-vehicle/xx-vehicle-api/src/main/java/com/xxfc/platform/vehicle/pojo/UsableVeicleDTO.java
View file @
f5e3e367
...
...
@@ -19,6 +19,8 @@ public class UsableVeicleDTO extends PageParam {
@ApiModelProperty
(
"城市"
)
Integer
addrCity
;
@ApiModelProperty
(
"排除城市"
)
Integer
excludeCity
;
@ApiModelProperty
(
"经度"
)
Double
lon
;
@ApiModelProperty
(
"纬度"
)
...
...
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleMapper.xml
View file @
f5e3e367
...
...
@@ -1237,12 +1237,17 @@
)
</if>
</if>
<if
test=
" modelId != null "
>
and v.model_id = #{modelId}
</if>
<if
test=
" addrCity != null "
>
and bc.addr_city = #{addrCity}
</if>
<!-- 根据前后record 过滤车辆 -->
<if
test=
"excludeCity != null "
>
and bc.addr_city != #{excludeCity}
</if>
<if
test=
" hotSign != null "
>
and vm.hot_sign = #{hotSign}
</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