国网上送提交代码

This commit is contained in:
hzj
2024-01-12 08:51:58 +08:00
parent 024004e1cd
commit a031a872fa

View File

@@ -154,9 +154,9 @@ public class PqTypicalSourceCreatePOServiceImpl extends ServiceImpl<PqTypicalSou
if(CollectionUtils.isEmpty(tempList)){ if(CollectionUtils.isEmpty(tempList)){
return; return;
}else { }else {
//电站等级 //不需要赋值电站等级
if (mapVoltage.containsKey(tempList.get(0).getVoltageLevel())) { if (mapVoltage.containsKey(tempList.get(0).getVoltageLevel())) {
pqTypicalSourceCreatePO.setVoltageLevel(String.format("%02d", mapVoltage.get(tempList.get(0).getVoltageLevel()).getAlgoDescribe())); // pqTypicalSourceCreatePO.setVoltageLevel(String.format("%02d", mapVoltage.get(tempList.get(0).getVoltageLevel()).getAlgoDescribe()));
//默认给05 //默认给05
pqTypicalSourceCreatePO.setIndustryType("05"); pqTypicalSourceCreatePO.setIndustryType("05");
} }