预处理污区
This commit is contained in:
@@ -320,6 +320,9 @@ public class PollutionServiceImpl implements PollutionService {
|
||||
if (!CollUtil.isEmpty(processDataList)){
|
||||
map.put("pollutionType",dictData.getId());
|
||||
map.put("value",processDataList.stream().max(Comparator.comparing(RMpPollutionDPO::getValue)).get().getValue());
|
||||
}else {
|
||||
map.put("pollutionType",dictData.getId());
|
||||
map.put("value",0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user