mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update
This commit is contained in:
@@ -749,12 +749,12 @@ public class PileBasicInfoServiceImpl implements PileBasicInfoService {
|
||||
|
||||
// demo账号
|
||||
if (SecurityUtils.getUsername().equals("demo")) {
|
||||
BigDecimal bigDecimal = new BigDecimal(Constants.THREE);
|
||||
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());
|
||||
generalInfo.setTotalChargingAmount(new BigDecimal(generalInfo.getTotalChargingAmount()).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());
|
||||
log.info("demo账号, end:{}", JSONObject.toJSONString(generalInfo));
|
||||
}
|
||||
return generalInfo;
|
||||
|
||||
Reference in New Issue
Block a user