Browse Source

no message

FengChaoYu 8 months ago
parent
commit
e68cd1714e

+ 1 - 1
mall-server-api/src/main/java/com/gree/mall/manager/logic/settle/repair/DailyImportSummaryLogic.java

@@ -1117,7 +1117,7 @@ public class DailyImportSummaryLogic {
                     reduceCost = reduceCost.add(issueRecord.getShouldReduceCost());
                 }
                 reduceCost = reduceCost.add(bean.getTotalFee());
-                BigDecimal subAmount = issueRecord.getIssueCost().subtract(reduceCost);
+                BigDecimal subAmount = issueRecord.getIssueCost().subtract(bean.getTotalFee());
                 issueRecord.setShouldReduceCost(reduceCost);
                 issueRecord.setReduceCost(new BigDecimal(0));
                 issueRecord.setUpdateBy(opName);