分时段按量金额计算修改
This commit is contained in:
parent
40aa07d1dd
commit
a39a835148
|
@ -1084,8 +1084,6 @@ public class TransactionBillServiceImpl implements TransactionBillService, After
|
|||
private BigDecimal calcTimingCountAmount(TransactionBillVO order, LocalDateTime endTime, BigDecimal totalEle) {
|
||||
BigDecimal total = BigDecimal.ZERO;
|
||||
|
||||
endTime = endTime.plusHours(10);
|
||||
|
||||
// 计算每小时平均用电量
|
||||
Duration betweenAvg = Duration.between(order.getSuitStartTime(), endTime);
|
||||
long hours = betweenAvg.toHours();
|
||||
|
|
Loading…
Reference in New Issue
Block a user