This commit is contained in:
2024-03-14 11:40:11 +08:00
parent f232dd614c
commit 4f0d71f57c
5 changed files with 7499 additions and 152 deletions

View File

@@ -1271,7 +1271,6 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
if (adapayMemberAccount == null) {
logger.error("订单分账逻辑error, 运营商id:{}, 未配置结算账户, 使用默认账户", merchantId);
adapayMemberAccount = adapayMemberAccountService.getDefault();
// return;
}
// 根据交易日期查询运营商下面所有站点的交易日报

View File

@@ -749,11 +749,13 @@ public class PileBasicInfoServiceImpl implements PileBasicInfoService {
// demo账号
if (SecurityUtils.getUsername().equals("demo")) {
log.info("demo账号, begin:{}", JSONObject.toJSONString(generalInfo));
generalInfo.setTotalChargingAmount(new BigDecimal(generalInfo.getTotalChargingAmount()).multiply(new BigDecimal("20")).toString());
generalInfo.setTotalPileQuantity(new BigDecimal(generalInfo.getTotalPileQuantity()).multiply(new BigDecimal("20")).toString());
generalInfo.setTotalChargingDegree(new BigDecimal(generalInfo.getTotalChargingDegree()).multiply(new BigDecimal("20")).toString());
generalInfo.setTotalChargingQuantity(new BigDecimal(generalInfo.getTotalChargingQuantity()).multiply(new BigDecimal("20")).toString());
// generalInfo.setTotalMemberAmount(new BigDecimal(generalInfo.getTotalMemberAmount()).multiply(new BigDecimal("20")).toString());
log.info("demo账号, end:{}", JSONObject.toJSONString(generalInfo));
}
return generalInfo;
}