Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
parking_local_general
Overview
Overview
Details
Activity
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
李东升
parking_local_general
Commits
424e8e5f
Commit
424e8e5f
authored
May 27, 2020
by
李东升
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加注释 todo
parent
0bef8eeb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
ThsTimeFramePayableMoney.java
...local/base/chargeCalculator/ThsTimeFramePayableMoney.java
+2
-0
No files found.
src/main/java/com/huaching/parking/local/parking_local_general/service/local/base/chargeCalculator/ThsTimeFramePayableMoney.java
View file @
424e8e5f
...
@@ -118,6 +118,8 @@ public class ThsTimeFramePayableMoney implements ThsRequestChargeAbstract {
...
@@ -118,6 +118,8 @@ public class ThsTimeFramePayableMoney implements ThsRequestChargeAbstract {
int
[]
dateType
=
{
Calendar
.
MINUTE
,
Calendar
.
HOUR_OF_DAY
};
int
[]
dateType
=
{
Calendar
.
MINUTE
,
Calendar
.
HOUR_OF_DAY
};
inTime
=
DateUtils
.
calAddDate
(
inTime
,
detail
.
getFastTime
(),
dateType
[
detail
.
getFastFrameType
()]);
inTime
=
DateUtils
.
calAddDate
(
inTime
,
detail
.
getFastTime
(),
dateType
[
detail
.
getFastFrameType
()]);
//todo 其实前1,2,3步对于所有的计费规则都是通用的,后续有时间可以再抽出来。
//4. 处理时段
//4. 处理时段
List
<
TimeFrameChargeDetailPOJO
>
list
=
detail
.
getData
();
List
<
TimeFrameChargeDetailPOJO
>
list
=
detail
.
getData
();
list
.
sort
(
Comparator
.
comparing
(
o
->
DateUtils
.
stringConvertDate
(
"2020-01-01 "
+
o
.
getBeginTime
(),
3
)));
list
.
sort
(
Comparator
.
comparing
(
o
->
DateUtils
.
stringConvertDate
(
"2020-01-01 "
+
o
.
getBeginTime
(),
3
)));
...
...
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