mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
后管站点详情页面新增字段
This commit is contained in:
@@ -155,7 +155,12 @@ public class PileStationInfoServiceImpl implements IPileStationInfoService {
|
||||
if (StringUtils.isNotBlank(pileStationInfo.getParkFeeDescribe())) {
|
||||
vo.setParkFeeDescribe(pileStationInfo.getParkFeeDescribe());
|
||||
}
|
||||
|
||||
if (StringUtils.isNotBlank(pileStationInfo.getAccountNumber())) {
|
||||
vo.setAccountNumber(pileStationInfo.getAccountNumber());
|
||||
}
|
||||
if (StringUtils.isNotBlank(String.valueOf(pileStationInfo.getCapacity()))) {
|
||||
vo.setCapacity(pileStationInfo.getCapacity());
|
||||
}
|
||||
vo.setMerchantAdminName(pileStationInfo.getStationAdminName());
|
||||
vo.setStationStatus(Integer.parseInt(pileStationInfo.getStationStatus()));
|
||||
vo.setStationType(pileStationInfo.getStationType());
|
||||
|
||||
@@ -211,4 +211,14 @@ public class PileStationVO {
|
||||
*/
|
||||
private BigDecimal occupyFee;
|
||||
|
||||
/**
|
||||
* 电费户号
|
||||
*/
|
||||
private String accountNumber;
|
||||
|
||||
/**
|
||||
* 容量
|
||||
*/
|
||||
private BigDecimal capacity;
|
||||
|
||||
}
|
||||
|
||||
@@ -57,13 +57,13 @@ public class StationInfo {
|
||||
* 户号 N
|
||||
* 国网电费账单户号
|
||||
*/
|
||||
// private String AccountNumber;
|
||||
private String AccountNumber;
|
||||
|
||||
/**
|
||||
* 容量(单位KW) N
|
||||
* 独立电表申请的功率
|
||||
*/
|
||||
// private BigDecimal Capacity;
|
||||
private BigDecimal Capacity;
|
||||
|
||||
/**
|
||||
* 是否是公共停车场库 (0-否;1-是) Y
|
||||
|
||||
@@ -202,6 +202,14 @@ public class LianLianServiceImpl implements LianLianService {
|
||||
info.setIsPublicParkingLot(1);
|
||||
info.setParkingLotNumber(pileStationInfo.getParkingNumber());
|
||||
}
|
||||
// 户号
|
||||
if (StringUtils.isNotBlank(pileStationInfo.getAccountNumber())) {
|
||||
info.setAccountNumber(pileStationInfo.getAccountNumber());
|
||||
}
|
||||
// 容量
|
||||
if (StringUtils.isNotBlank(String.valueOf(pileStationInfo.getCapacity()))) {
|
||||
info.setCapacity(pileStationInfo.getCapacity().setScale(4, BigDecimal.ROUND_HALF_UP));
|
||||
}
|
||||
List<EquipmentInfo> pileList = getPileList(pileStationInfo);
|
||||
if (CollectionUtils.isNotEmpty(pileList)) {
|
||||
info.setEquipmentInfos(pileList); // 充电设备信息列表
|
||||
|
||||
@@ -224,6 +224,22 @@
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item prop="accountNumber" label="国网电费账单户号" label-width="130px">
|
||||
<el-input
|
||||
v-model="station.accountNumber"
|
||||
required="true"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item prop="capacity" label="容量">
|
||||
<el-input
|
||||
v-model="station.capacity"
|
||||
required="true"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-form>
|
||||
<el-button
|
||||
@@ -263,6 +279,8 @@ export default {
|
||||
matchCars: "",
|
||||
parkingNumber: "",
|
||||
parkFeeDescribe: "",
|
||||
accountNumber: "",
|
||||
capacity: "",
|
||||
selectMatchCars: [],
|
||||
publicFlag: "",
|
||||
openFlag: "",
|
||||
|
||||
Reference in New Issue
Block a user