Sfoglia il codice sorgente

1.财务未收总金额

wuhp 1 anno fa
parent
commit
51b06e9eec

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

@@ -3500,7 +3500,7 @@
         select  IFNULL(sum(a.noSettlementAmount),0) as "sySumAmount"
         from  (
         SELECT
-        (a.allAmount-(IFNULL(b.invoicComm,0) + IFNULL(c.otherInvoic,0)))  as "noSettlementAmount"
+        a.allAmount -( IFNULL( c.settAmountOther, 0 ) + IFNULL( b.settCommAmount, 0 )) AS "noSettlementAmount"
         FROM
         (
         SELECT