Przeglądaj źródła

计量-材料调差小数

qianxb 3 miesięcy temu
rodzic
commit
818c80b747

+ 1 - 1
blade-service/blade-meter/src/main/java/org/springblade/meter/service/impl/ContractMaterialAdjustServiceImpl.java

@@ -112,7 +112,7 @@ public class ContractMaterialAdjustServiceImpl extends BaseServiceImpl<ContractM
         for (ContractMaterialAdjustDetail detail : list) {
             detail.setContractMaterialId(dto.getContractMaterialId());
             detail.setChangeTotal(detail.getMeterTotal());
-            detail.setAdjustTotal(detail.getChangeTotal().multiply(detail.getAdjustFactor()).setScale(3,RoundingMode.HALF_UP));
+            detail.setAdjustTotal(detail.getChangeTotal().multiply(detail.getAdjustFactor()));
         }
         return list;
     }