金额位数统一到4位小数

This commit is contained in:
ZZ 2021-08-31 18:04:23 +08:00
parent eec3be688a
commit 8928b7cb3e
2 changed files with 2 additions and 2 deletions

View File

@ -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 alerted = (String) cacheOrder.get("lt5alerted");
String tel = (String) cacheOrder.get("tel"); String tel = (String) cacheOrder.get("tel");
if (alerted == null && tel != null) { if (alerted == null && tel != null) {

View File

@ -44,7 +44,7 @@ public class RemoteStopReplyDataLogic implements ServiceLogic {
if (HEX_01.equals(remoteStopReplyData.getStopResult())) { if (HEX_01.equals(remoteStopReplyData.getStopResult())) {
pileOrderService.pileStop(orderNo, 1, "停止充电成功"); pileOrderService.pileStop(orderNo, 1, "停止充电成功");
} else { } else {
pileOrderService.pileStartup(orderNo, 2, frs[Integer.parseInt(remoteStopReplyData.getFailReason())]); pileOrderService.pileStop(orderNo, 2, frs[Integer.parseInt(remoteStopReplyData.getFailReason())]);
} }
return new ServiceResult(false); return new ServiceResult(false);
} }