解决时段水位报错
parent
20372c8fed
commit
4c09e9770b
|
|
@ -192,9 +192,11 @@ public class StatisticsService {
|
|||
count++;
|
||||
}
|
||||
}
|
||||
if(count > 0){
|
||||
vo.setRzAvg(rzD.divide(new BigDecimal(count), 2, RoundingMode.HALF_UP));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private SdSwRbVo setHourRz(SdSwRbVo vo, String HH, BigDecimal rz) {
|
||||
switch (HH) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue