Browse Source

Merge remote-tracking branch 'origin/master'

王苗苗 8 months ago
parent
commit
efe5dd33e2

+ 1 - 1
slibra-common/src/main/java/com/slibra/common/utils/format/WaterFormat.java

@@ -93,7 +93,7 @@ public class WaterFormat {
                 decisionReq.setC(jsBod5.divide(tpIn, INT_0, RoundingMode.HALF_UP));
             }
             if(!Objects.isNull(tnIn) && tnIn.compareTo(new BigDecimal("0")) >0){
-                decisionReq.setC(jsBod5.divide(tnIn, INT_0, RoundingMode.HALF_UP));
+                decisionReq.setB(jsBod5.divide(tnIn, INT_0, RoundingMode.HALF_UP));
             }
         }
         // decisionReq.setT(DecimalUtils.getAbsAndScale(daily.getJsSw(), MyConstants.INT_0));