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