mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-17 08:18:34 +08:00
update
This commit is contained in:
@@ -595,7 +595,16 @@ public class PileBasicInfoServiceImpl implements IPileBasicInfoService {
|
|||||||
}
|
}
|
||||||
log.info("后管首页基本信息查询 authorizedMap:{}, dto:{}", JSONObject.toJSONString(authorizedMap), JSONObject.toJSONString(dto));
|
log.info("后管首页基本信息查询 authorizedMap:{}, dto:{}", JSONObject.toJSONString(authorizedMap), JSONObject.toJSONString(dto));
|
||||||
dto.setStationIdList(stationIdList);
|
dto.setStationIdList(stationIdList);
|
||||||
return pileBasicInfoMapper.getGeneralSituation(dto);
|
IndexGeneralSituationVO generalSituation = pileBasicInfoMapper.getGeneralSituation(dto);
|
||||||
|
// demo账号
|
||||||
|
if (SecurityUtils.getUsername().equals("demo")) {
|
||||||
|
generalSituation.setTotalChargingAmount(new BigDecimal(generalSituation.getTotalChargingAmount()).multiply(new BigDecimal("20")).toString());
|
||||||
|
generalSituation.setTotalPileQuantity(new BigDecimal(generalSituation.getTotalPileQuantity()).multiply(new BigDecimal("20")).toString());
|
||||||
|
generalSituation.setTotalChargingDegree(new BigDecimal(generalSituation.getTotalChargingDegree()).multiply(new BigDecimal("20")).toString());
|
||||||
|
generalSituation.setTotalChargingQuantity(new BigDecimal(generalSituation.getTotalChargingQuantity()).multiply(new BigDecimal("20")).toString());
|
||||||
|
generalSituation.setTotalMemberAmount(new BigDecimal(generalSituation.getTotalMemberAmount()).multiply(new BigDecimal("20")).toString());
|
||||||
|
}
|
||||||
|
return generalSituation;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user