Merge remote-tracking branch 'origin/main' into main

main
zhangyu 2023-02-20 09:28:32 +08:00
commit 3d88cfe508
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ public class HazardousOperationServiceImpl implements IHazardousOperationService
statisticsVo.setCount(typeList.get(key).size());
operationTypeList.add(statisticsVo);
}
map.put("operationTypeList", operationTypeList);
map.put("operationTypeList", JSONObject.toJSONString(operationTypeList));
// 进行中的危险作业
List<HazardousOperation> hazardousOperations = list.stream()

View File

@ -121,7 +121,7 @@ public class MajorHazardSourcesServiceImpl implements IMajorHazardSourcesService
statisticsVo.setCount(typeList.get(key).size());
dangerLevelList.add(statisticsVo);
}
map.put("dangerLevelList", dangerLevelList);
map.put("dangerLevelList", JSONObject.toJSONString(dangerLevelList));
// 获取生产单元数量
int productionUnit = (int) list.stream()