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
f81fa41f
Commit
f81fa41f
authored
Oct 29, 2020
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改订单接口
parent
486f7673
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
BannerMapper.xml
.../xx-app-server/src/main/resources/mapper/BannerMapper.xml
+3
-0
RentVehicleController.java
...com/xxfc/platform/vehicle/rest/RentVehicleController.java
+12
-0
No files found.
xx-app/xx-app-server/src/main/resources/mapper/BannerMapper.xml
View file @
f81fa41f
...
...
@@ -20,6 +20,9 @@
<select
id=
"findBannerListByType"
resultMap=
"bannerMap"
>
select * from `banner` where `is_del`=0
<if
test=
"status != null"
>
and `status`=#{status}
</if>
<if
test=
"type != null"
>
and `type`=#{type}
</if>
...
...
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/rest/RentVehicleController.java
View file @
f81fa41f
...
...
@@ -403,6 +403,18 @@ public class RentVehicleController extends BaseController<VehicleBiz> implements
return
ObjectRestResponse
.
succ
(
vehicleBookRecord
);
}
@GetMapping
(
value
=
"/app/unauth/v2/getPriceByVehicle"
)
@IgnoreUserToken
public
ObjectRestResponse
<
List
<
VehicleModelCalendarPriceDTO
>>
getByVehicleIdV2
(
String
vehicleId
,
String
startDate
,
String
endDate
,
Long
startDateTemp
,
Long
endDateTemp
)
{
if
(
null
!=
startDateTemp
)
{
startDate
=
DateUtil
.
date
(
startDateTemp
).
toString
();
}
if
(
null
!=
endDateTemp
)
{
endDate
=
DateUtil
.
date
(
endDateTemp
).
toString
();
}
return
ObjectRestResponse
.
succ
(
getSynthesizePrice
(
vehicleId
,
startDate
,
endDate
,
getCurrentUserIdInt
()));
}
@GetMapping
(
value
=
"v2/getPriceByVehicleFeign"
)
@IgnoreUserToken
public
ObjectRestResponse
<
List
<
VehicleModelCalendarPriceDTO
>>
getByVehicleIdFeignV2
(
String
vehicleId
,
String
startDate
,
String
endDate
,
Integer
userId
)
{
...
...
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