Przeglądaj źródła

修改决策传错碳氮比 的bug

wangmiaomiao 8 miesięcy temu
rodzic
commit
a58b1c59ab

+ 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));