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