mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-14 06:50:09 +08:00
联联平台添加停车场库编号字段
This commit is contained in:
@@ -120,6 +120,9 @@ public class PileStationInfoServiceImpl implements IPileStationInfoService {
|
||||
if (StringUtils.isNotBlank(pileStationInfo.getQrcodePrefix())) {
|
||||
vo.setQrcodePrefix(pileStationInfo.getQrcodePrefix());
|
||||
}
|
||||
if (StringUtils.isNotBlank(pileStationInfo.getParkingNumber())) {
|
||||
vo.setParkingNumber(pileStationInfo.getParkingNumber());
|
||||
}
|
||||
vo.setMerchantAdminName(pileStationInfo.getStationAdminName());
|
||||
vo.setStationStatus(Integer.parseInt(pileStationInfo.getStationStatus()));
|
||||
vo.setStationType(pileStationInfo.getStationType());
|
||||
|
||||
@@ -112,6 +112,11 @@ public class PileStationVO {
|
||||
*/
|
||||
private String stationLat;
|
||||
|
||||
/**
|
||||
* 停车场库编号
|
||||
*/
|
||||
private String parkingNumber;
|
||||
|
||||
/**
|
||||
* 建设场所
|
||||
*/
|
||||
|
||||
@@ -76,7 +76,8 @@ public class StationInfo {
|
||||
* 停车场库编号 N
|
||||
* 公共停车场库编号
|
||||
*/
|
||||
// private String ParkingLotNumber;
|
||||
@JSONField(name = "ParkingLotNumber")
|
||||
private String parkingLotNumber;
|
||||
|
||||
/**
|
||||
* 充电站国家代码 Y
|
||||
|
||||
@@ -184,6 +184,9 @@ public class LianLianServiceImpl implements LianLianService {
|
||||
.build();
|
||||
String payment = StationPaymentEnum.getPaymentByCode(pileStationInfo.getPayment());
|
||||
info.setPayment(payment);
|
||||
if (StringUtils.isNotBlank(pileStationInfo.getParkingNumber())) {
|
||||
info.setParkingLotNumber(pileStationInfo.getParkingNumber());
|
||||
}
|
||||
List<EquipmentInfo> pileList = getPileList(pileStationInfo);
|
||||
if (CollectionUtils.isNotEmpty(pileList)) {
|
||||
info.setEquipmentInfos(pileList); // 充电设备信息列表
|
||||
|
||||
@@ -115,6 +115,11 @@
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
</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 :gutter="24">
|
||||
@@ -245,6 +250,7 @@ export default {
|
||||
address: "",
|
||||
stationTel: "",
|
||||
matchCars: "",
|
||||
parkingNumber: "",
|
||||
selectMatchCars: [],
|
||||
publicFlag: "",
|
||||
openFlag: "",
|
||||
|
||||
Reference in New Issue
Block a user