Browse Source

2024/11/21 16:45

main
parent
commit
eb8882e1bd
  1. 10
      src/main/java/com/biutag/supervision/controller/datav/DataGobalController.java

10
src/main/java/com/biutag/supervision/controller/datav/DataGobalController.java

@ -66,16 +66,6 @@ public class DataGobalController {
return Result.success(data); return Result.success(data);
} }
public void updateProList(List<CommonVo> proList, List<GobalMapIconVo> gobalMapVoList, BiConsumer<GobalMapIconVo, Integer> setter) {
for (GobalMapIconVo gobalMapIconVo : gobalMapVoList) {
for (CommonVo commonVo : proList) {
if (gobalMapIconVo.getName().equals(commonVo.getName())) {
Integer temp = Integer.parseInt(commonVo.getValue());
setter.accept(gobalMapIconVo, Integer.parseInt(commonVo.getValue()) + temp);
}
}
}
}
/** /**

Loading…
Cancel
Save