更新导入充电桩的必填字段的检查
This commit is contained in:
parent
250b97f650
commit
16cf76055c
@ -332,12 +332,10 @@ public class XhpcChargingPileServiceImpl implements IXhpcChargingPileService {
|
||||
|| pile.getMaxElectricCurrent() == null || pile.getMaxElectricCurrent() <= 0
|
||||
|| pile.getMinElectriCurrent() == null || pile.getMinElectriCurrent() <=0
|
||||
|| "".equals(pile.getSerialNumber())
|
||||
|| "".equals(pile.getTypeName()) || "".equals(pile.getProgramVersion())
|
||||
|| "".equals(pile.getTypeName())
|
||||
|| pile.getGunNumber() == null || pile.getGunNumber() <=0
|
||||
|| "".equals(pile.getCommunicationProtocolVersion()) || "".equals(pile.getNetworkLinkType())
|
||||
|| "".equals(pile.getCommunicationOperator()) || "".equals(pile.getSimCard())
|
||||
|| "".equals(pile.getProductionDate()) || "".equals(pile.getManufactureName())
|
||||
|| pile.getCurrent() == null || pile.getCurrent() <=0
|
||||
|| "".equals(pile.getConnectorTypeName()) || "".equals(pile.getEquipmentTypeName())){
|
||||
failureNum ++;
|
||||
failureMsg.append("<br/>电站名称: ").append(pile.getChargingStationName()).append(" ,电桩名称: ").append(pile.getName()).append(" 导入失败; 失败原因: 必填字段为空。");
|
||||
|
||||
@ -75,7 +75,7 @@ public class XhpcChargingPile extends BaseEntity {
|
||||
@Excel(name = "通讯运营商", cellType = Excel.ColumnType.STRING)
|
||||
private String communicationOperator;
|
||||
/** Sim卡 */
|
||||
@Excel(name = "SIMK", cellType = Excel.ColumnType.STRING)
|
||||
@Excel(name = "SIM卡号", cellType = Excel.ColumnType.STRING)
|
||||
private String simCard;
|
||||
/** 状态(0正常 1停用) */
|
||||
private Integer status;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user