This commit is contained in:
Lemon
2023-09-27 15:42:22 +08:00
parent 2371b4cec9
commit dae7ccb3f4

View File

@@ -81,7 +81,6 @@ public class NRServiceImpl implements NRService {
.openAllDay(Integer.parseInt(stationInfoVO.getOpenAllDay())) .openAllDay(Integer.parseInt(stationInfoVO.getOpenAllDay()))
.busineHours(stationInfoVO.getBusinessHours()) .busineHours(stationInfoVO.getBusinessHours())
.minElectricityPrice(stationInfoVO.getElectricityPrice().add(stationInfoVO.getServicePrice())) .minElectricityPrice(stationInfoVO.getElectricityPrice().add(stationInfoVO.getServicePrice()))
// .equipmentInfos()
.build(); .build();
// 站点图片 // 站点图片
if (CollectionUtils.isNotEmpty(stationInfoVO.getPictureList())) { if (CollectionUtils.isNotEmpty(stationInfoVO.getPictureList())) {
@@ -124,7 +123,7 @@ public class NRServiceImpl implements NRService {
for (PileStationInfo pileStationInfo : pageInfo.getList()) { for (PileStationInfo pileStationInfo : pageInfo.getList()) {
// 拼装参数 // 拼装参数
NRStationInfo nrStationInfo = NRStationInfo.builder() NRStationInfo nrStationInfo = NRStationInfo.builder()
.stationId("NR" + pileStationInfo.getId()) .stationId(String.valueOf(pileStationInfo.getId()))
.operatorID(Constants.OPERATORID_LIANLIAN) .operatorID(Constants.OPERATORID_LIANLIAN)
.equipmentOwnerID(Constants.OPERATORID_LIANLIAN) .equipmentOwnerID(Constants.OPERATORID_LIANLIAN)
.stationName(pileStationInfo.getStationName()) .stationName(pileStationInfo.getStationName())
@@ -139,8 +138,6 @@ public class NRServiceImpl implements NRService {
.openForBusinessDate(DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD, DateUtils.parseDate(pileStationInfo.getCreateTime()))) .openForBusinessDate(DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD, DateUtils.parseDate(pileStationInfo.getCreateTime())))
.openAllDay(Integer.parseInt(pileStationInfo.getOpenAllDay())) .openAllDay(Integer.parseInt(pileStationInfo.getOpenAllDay()))
.busineHours(pileStationInfo.getBusinessHours()) .busineHours(pileStationInfo.getBusinessHours())
// .minElectricityPrice(pileStationInfo.getElectricityPrice().add(pileStationInfo.getServicePrice()))
// .equipmentInfos()
.build(); .build();
// 站点费率 // 站点费率
// 查计费模板 // 查计费模板