Răsfoiți Sursa

1.控制台财务应收逻辑调整

wuhp 1 an în urmă
părinte
comite
8ee0f8b883

+ 2 - 2
src/main/resources/mapper/modules/fnc/InsPlyIncomeMapper.xml

@@ -2515,8 +2515,8 @@
             a.allAmount as "commissionFeevalue",
             IFNULL(c.settAmountOther,0) +IFNULL(b.settCommAmount ,0) as "noInvoicCommissionFeevalue",
             IFNULL(b.remainingAmount,0) +IFNULL(c.invoicNotOther,0) as "settlementAmount",
-            (a.allAmount-(IFNULL(b.invoicComm,0) + IFNULL(c.otherInvoic,0)))  as "noSettlementAmount",
-            a.allAmount-(IFNULL(c.settAmountOther,0) +IFNULL(b.settCommAmount ,0)) as "readyCommissionFeevalue"
+            (a.allAmount-(IFNULL(b.invoicComm,0) + IFNULL(c.otherInvoic,0)))  as "readyCommissionFeevalue",
+            a.allAmount-(IFNULL(c.settAmountOther,0) +IFNULL(b.settCommAmount ,0)) as "noSettlementAmount"
         FROM
             (
                 SELECT