金额位数统一到4位小数
This commit is contained in:
parent
eec3be688a
commit
8928b7cb3e
@ -128,7 +128,7 @@ public class RealtimeDataLogic implements ServiceLogic {
|
||||
}
|
||||
}
|
||||
}
|
||||
if ((balance - cacheRealtimeData.getAmountCharged()) < 500) {
|
||||
if ((balance - cacheRealtimeData.getAmountCharged()) < 50000) {
|
||||
String alerted = (String) cacheOrder.get("lt5alerted");
|
||||
String tel = (String) cacheOrder.get("tel");
|
||||
if (alerted == null && tel != null) {
|
||||
|
||||
@ -44,7 +44,7 @@ public class RemoteStopReplyDataLogic implements ServiceLogic {
|
||||
if (HEX_01.equals(remoteStopReplyData.getStopResult())) {
|
||||
pileOrderService.pileStop(orderNo, 1, "停止充电成功");
|
||||
} else {
|
||||
pileOrderService.pileStartup(orderNo, 2, frs[Integer.parseInt(remoteStopReplyData.getFailReason())]);
|
||||
pileOrderService.pileStop(orderNo, 2, frs[Integer.parseInt(remoteStopReplyData.getFailReason())]);
|
||||
}
|
||||
return new ServiceResult(false);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user