联联平台添加停车场库编号字段

This commit is contained in:
Lemon
2023-08-09 09:29:55 +08:00
parent 2ff37b957b
commit 0b15319e4a
5 changed files with 19 additions and 1 deletions

View File

@@ -120,6 +120,9 @@ public class PileStationInfoServiceImpl implements IPileStationInfoService {
if (StringUtils.isNotBlank(pileStationInfo.getQrcodePrefix())) { if (StringUtils.isNotBlank(pileStationInfo.getQrcodePrefix())) {
vo.setQrcodePrefix(pileStationInfo.getQrcodePrefix()); vo.setQrcodePrefix(pileStationInfo.getQrcodePrefix());
} }
if (StringUtils.isNotBlank(pileStationInfo.getParkingNumber())) {
vo.setParkingNumber(pileStationInfo.getParkingNumber());
}
vo.setMerchantAdminName(pileStationInfo.getStationAdminName()); vo.setMerchantAdminName(pileStationInfo.getStationAdminName());
vo.setStationStatus(Integer.parseInt(pileStationInfo.getStationStatus())); vo.setStationStatus(Integer.parseInt(pileStationInfo.getStationStatus()));
vo.setStationType(pileStationInfo.getStationType()); vo.setStationType(pileStationInfo.getStationType());

View File

@@ -112,6 +112,11 @@ public class PileStationVO {
*/ */
private String stationLat; private String stationLat;
/**
* 停车场库编号
*/
private String parkingNumber;
/** /**
* 建设场所 * 建设场所
*/ */

View File

@@ -76,7 +76,8 @@ public class StationInfo {
* 停车场库编号 N * 停车场库编号 N
* 公共停车场库编号 * 公共停车场库编号
*/ */
// private String ParkingLotNumber; @JSONField(name = "ParkingLotNumber")
private String parkingLotNumber;
/** /**
* 充电站国家代码 Y * 充电站国家代码 Y

View File

@@ -184,6 +184,9 @@ public class LianLianServiceImpl implements LianLianService {
.build(); .build();
String payment = StationPaymentEnum.getPaymentByCode(pileStationInfo.getPayment()); String payment = StationPaymentEnum.getPaymentByCode(pileStationInfo.getPayment());
info.setPayment(payment); info.setPayment(payment);
if (StringUtils.isNotBlank(pileStationInfo.getParkingNumber())) {
info.setParkingLotNumber(pileStationInfo.getParkingNumber());
}
List<EquipmentInfo> pileList = getPileList(pileStationInfo); List<EquipmentInfo> pileList = getPileList(pileStationInfo);
if (CollectionUtils.isNotEmpty(pileList)) { if (CollectionUtils.isNotEmpty(pileList)) {
info.setEquipmentInfos(pileList); // 充电设备信息列表 info.setEquipmentInfos(pileList); // 充电设备信息列表

View File

@@ -115,6 +115,11 @@
></el-input> ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6">
<el-form-item prop="parkingNumber" label="停车场库编号">
<el-input v-model="station.parkingNumber" required="true"></el-input>
</el-form-item>
</el-col>
</el-row> </el-row>
<el-row :gutter="24"> <el-row :gutter="24">
@@ -245,6 +250,7 @@ export default {
address: "", address: "",
stationTel: "", stationTel: "",
matchCars: "", matchCars: "",
parkingNumber: "",
selectMatchCars: [], selectMatchCars: [],
publicFlag: "", publicFlag: "",
openFlag: "", openFlag: "",