debug:电量变化记录错误
This commit is contained in:
parent
ecbe7038c6
commit
f7fa804b07
|
@ -1733,7 +1733,7 @@ public class TransactionBillServiceImpl implements TransactionBillService, After
|
|||
if (SuitFeeType.TIME.getType().equals(bill.getSuitFeeType())) {
|
||||
recordTimeService.insertRecordTime(recordTimeConverter.toRecordTime(device, transactionBillConverter.toRechargeSeconds(bill), reason, user, RecordTimeType.TIME.getType()));
|
||||
} else if (SuitFeeType.COUNT.getType().equals(bill.getSuitFeeType())) {
|
||||
recordTimeService.insertRecordTime(recordTimeConverter.toRecordTime(device, bill.getSuitTime(), reason, user, RecordTimeType.ELE.getType()));
|
||||
recordTimeService.insertRecordTime(recordTimeConverter.toRecordTime(device, transactionBillConverter.toRechargeEle(bill).longValue(), reason, user, RecordTimeType.ELE.getType()));
|
||||
}
|
||||
}, 1L, TimeUnit.SECONDS);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user