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
4ee34fe8
Commit
4ee34fe8
authored
Dec 17, 2020
by
周健威
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-chw-price' into dev-chw
parents
d44ea83e
2906ce3b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
2 deletions
+12
-2
RentVehicleBookDTO.java
...va/com/xxfc/platform/vehicle/pojo/RentVehicleBookDTO.java
+2
-0
UsableVeicleDTO.java
.../java/com/xxfc/platform/vehicle/pojo/UsableVeicleDTO.java
+2
-0
RentVehicleController.java
...com/xxfc/platform/vehicle/rest/RentVehicleController.java
+1
-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/RentVehicleBookDTO.java
View file @
4ee34fe8
...
...
@@ -160,6 +160,8 @@ public class RentVehicleBookDTO extends PageParam {
@ApiModelProperty
(
"城市"
)
Integer
addrCity
;
@ApiModelProperty
(
"排除城市"
)
Integer
excludeCity
;
@ApiModelProperty
(
"经度"
)
Double
lon
;
@ApiModelProperty
(
"纬度"
)
...
...
xx-vehicle/xx-vehicle-api/src/main/java/com/xxfc/platform/vehicle/pojo/UsableVeicleDTO.java
View file @
4ee34fe8
...
...
@@ -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/java/com/xxfc/platform/vehicle/rest/RentVehicleController.java
View file @
4ee34fe8
...
...
@@ -245,6 +245,7 @@ public class RentVehicleController extends BaseController<VehicleBiz> implements
rbd
.
setLon
(
dto
.
getLon
());
rbd
.
setLat
(
dto
.
getLat
());
rbd
.
setAddrCity
(
dto
.
getAddrCity
());
rbd
.
setExcludeCity
(
dto
.
getExcludeCity
());
rbd
.
setParkBranchCompanyId
(
dto
.
getStartCompanyId
());
rbd
.
setStartCompanyId
(
dto
.
getStartCompanyId
());
rbd
.
setEndCompanyId
(
dto
.
getEndCompanyId
());
...
...
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleMapper.xml
View file @
4ee34fe8
...
...
@@ -1251,12 +1251,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>
...
...
@@ -1463,8 +1468,8 @@
</where>
<choose>
<when
test=
"isMinPrice !=null and isMinPrice==1"
>
ORDER BY v.price ASC,v.create_time DESC
</when>
ORDER BY v.price ASC,v.create_time DESC
</when>
<otherwise>
ORDER BY v.create_time DESC
</otherwise>
...
...
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