Browse Source

修正:缺陷月报统计

zhongwei
ty 9 months ago
parent
commit
5614c8ada8
  1. 1
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/defect/service/impl/OperDefectServiceImpl.java

1
hzims-service/operational/src/main/java/com/hnac/hzims/operational/defect/service/impl/OperDefectServiceImpl.java

@ -1010,6 +1010,7 @@ public class OperDefectServiceImpl extends BaseServiceImpl<OperDefectMapper, Ope
OperDefectRepeatRatioDTO addUp = OperDefectRepeatRatioDTO.builder().defectLevel("合计").happenNum(one.getHappenNum() + two.getHappenNum() + three.getHappenNum()).happenSumNum(one.getHappenSumNum() + two.getHappenSumNum() + three.getHappenSumNum()).happenRatio(1.0).repeatRatio(1.00).build();
if (addUp.getHappenNum().equals(0L)) {
addUp.setRepeatRatio(0.0);
addUp.setHappenRatio(0.0);
}
re.addAll(Arrays.asList(one, two, three, addUp));

Loading…
Cancel
Save