update 江苏省平台建设场所

This commit is contained in:
Lemon
2023-12-16 09:48:22 +08:00
parent 5a905b6e79
commit 158feb95cb
2 changed files with 71 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ import com.jsowell.common.constant.CacheConstants;
import com.jsowell.common.constant.Constants;
import com.jsowell.common.core.domain.ykc.RealTimeMonitorData;
import com.jsowell.common.core.redis.RedisCache;
import com.jsowell.common.enums.thirdparty.JiangSuConstructionEnum;
import com.jsowell.common.enums.ykc.PileStatusEnum;
import com.jsowell.common.util.DateUtils;
import com.jsowell.common.util.PageUtils;
@@ -212,7 +213,9 @@ public class NRServiceImpl implements NRService {
stationType = "2";
}
nrStationInfo.setStationType(Integer.parseInt(stationType));
nrStationInfo.setConstruction(255);
// 获取建设场所
int jsConstructionCode = JiangSuConstructionEnum.getJSCodeByDataBaseCode(Integer.parseInt(stationInfoVO.getConstruction()));
nrStationInfo.setConstruction(jsConstructionCode);
List<NREquipmentInfo> nrEquipmentInfos = getEquipmentInfo(String.valueOf(dto.getStationId()));
nrStationInfo.setEquipmentInfos(nrEquipmentInfos);