新增 甘肃省平台相关Service

This commit is contained in:
Lemon
2024-11-06 09:32:16 +08:00
parent 24957fc00c
commit 7221597f28
6 changed files with 243 additions and 4 deletions

View File

@@ -1111,10 +1111,12 @@ public class PileBasicInfoServiceImpl implements PileBasicInfoService {
equipmentInfo.setEquipmentID(pileSn);
equipmentInfo.setManufacturerID(Constants.OPERATORID_LIANLIAN);
equipmentInfo.setManufacturerName(Constants.MANUFACTURER_NAME);
equipmentInfo.setConstructionTime(DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD, pileBasicInfo.getCreateTime()));
PileModelInfoVO modelInfo = pileModelInfoService.getPileModelInfoByPileSn(pileSn);
equipmentInfo.setEquipmentType(Integer.valueOf(modelInfo.getSpeedType()));
equipmentInfo.setEquipmentModel(modelInfo.getModelName());
// Map<String, String> pileStatus = pileConnectorInfoService.getPileStatus(Lists.newArrayList(pileBasicInfo.getSn()));
Map<String, String> pileStatusMap = pileConnectorInfoService.getPileStatus(Lists.newArrayList(pileSn));

View File

@@ -30,6 +30,12 @@ public class EquipmentInfo {
@JSONField(name = "ManufacturerID")
private String manufacturerID;
/**
* 设备生产商名称
*/
@JSONField(name = "ManufacturerName")
private String manufacturerName;
/**
* 设备型号 N
* 由设备生厂商定义的设备型号