Commit 424e8e5f by 李东升

添加注释 todo

parent 0bef8eeb
...@@ -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)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment