mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update 首页订单金额数据汇总采用总结算金额(已经与实收金额对比过,取二者大于0的最小值)
This commit is contained in:
@@ -991,7 +991,8 @@ public class PileBasicInfoServiceImpl implements PileBasicInfoService {
|
||||
if (SecurityUtils.getUsername().equals("demo")) {
|
||||
BigDecimal bigDecimal = new BigDecimal(Constants.THREE);
|
||||
log.info("demo账号, begin:{}", JSON.toJSONString(generalInfo));
|
||||
generalInfo.setTotalChargingAmount(new BigDecimal(generalInfo.getTotalChargingAmount()).multiply(bigDecimal).toString());
|
||||
// generalInfo.setTotalChargingAmount(new BigDecimal(generalInfo.getTotalChargingAmount()).multiply(bigDecimal).toString());
|
||||
generalInfo.setTotalChargingAmount(new BigDecimal(generalInfo.getTotalSettleAmount()).multiply(bigDecimal).toString());
|
||||
generalInfo.setTotalPileQuantity(new BigDecimal(generalInfo.getTotalPileQuantity()).multiply(bigDecimal).toString());
|
||||
generalInfo.setTotalChargingDegree(new BigDecimal(generalInfo.getTotalChargingDegree()).multiply(bigDecimal).toString());
|
||||
generalInfo.setTotalChargingQuantity(new BigDecimal(generalInfo.getTotalChargingQuantity()).multiply(bigDecimal).toString());
|
||||
|
||||
@@ -20,6 +20,11 @@ public class IndexGeneralSituationVO {
|
||||
*/
|
||||
private String totalChargingAmount;
|
||||
|
||||
/**
|
||||
* 总结算金额
|
||||
*/
|
||||
private String totalSettleAmount;
|
||||
|
||||
/**
|
||||
* 总充电笔数
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user