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
e9417a8c
Commit
e9417a8c
authored
Oct 22, 2020
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改查询bug
parent
eebe824e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
VehicleHolidayPriceInfoBiz.java
...xxfc/platform/vehicle/biz/VehicleHolidayPriceInfoBiz.java
+3
-3
No files found.
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/VehicleHolidayPriceInfoBiz.java
View file @
e9417a8c
...
...
@@ -159,9 +159,11 @@ public class VehicleHolidayPriceInfoBiz extends BaseBiz<VehicleHolidayPriceInfoM
List
<
VehicleModelCalendarPriceDTO
>
priceDTOS
=
CollUtil
.
newArrayList
();
cn
.
hutool
.
core
.
date
.
DateTime
beginOfStartDate
=
DateUtil
.
beginOfDay
(
DateUtil
.
parse
(
startDate
));
cn
.
hutool
.
core
.
date
.
DateTime
endOfStartDate
=
DateUtil
.
endOfDay
(
DateUtil
.
parse
(
endDate
));
//查询车辆信息
Vehicle
vehicle
=
vehicleBiz
.
selectById
(
vehicleId
);
//获取基本和周末价格
VehicleCommonPriceInfo
vehicleCommonPriceInfo
=
vehicleCommonPriceInfoBiz
.
selectOne
(
new
VehicleCommonPriceInfo
(){{
setCompanyId
(
companyId
);
setCompanyId
(
vehicle
.
getSubordinateBranch
()
);
setVehicleId
(
vehicleId
);
}});
...
...
@@ -207,8 +209,6 @@ public class VehicleHolidayPriceInfoBiz extends BaseBiz<VehicleHolidayPriceInfoM
//获取会员折扣
//查询车辆信息
Vehicle
vehicle
=
vehicleBiz
.
selectById
(
vehicleId
);
//查询会员信息
//默认折扣
Integer
discount
=
DEFAULT_DISCOUNT
;
...
...
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