|
@@ -2521,8 +2521,8 @@
|
|
|
a.allAmount as "commissionFeevalue",
|
|
a.allAmount as "commissionFeevalue",
|
|
|
IFNULL(c.settAmountOther,0) +IFNULL(b.settCommAmount ,0) as "noInvoicCommissionFeevalue",
|
|
IFNULL(c.settAmountOther,0) +IFNULL(b.settCommAmount ,0) as "noInvoicCommissionFeevalue",
|
|
|
IFNULL(a.allInvoicCommissionFeevalue,0) - IFNULL( b.settCommAmount,0) + ifnull(c.invoicNotOther,0) as "settlementAmount",
|
|
IFNULL(a.allInvoicCommissionFeevalue,0) - IFNULL( b.settCommAmount,0) + ifnull(c.invoicNotOther,0) as "settlementAmount",
|
|
|
- a.allAmount -(
|
|
|
|
|
- IFNULL( c.settAmountOther, 0 ) + IFNULL( b.settCommAmount, 0 )) - (IFNULL( a.allInvoicCommissionFeevalue, 0 ) - IFNULL( b.settCommAmount, 0 )) AS "readyCommissionFeevalue",
|
|
|
|
|
|
|
+ (a.allAmount -(
|
|
|
|
|
+ IFNULL( c.settAmountOther, 0 ) + IFNULL( b.settCommAmount, 0 ))) - (IFNULL( a.allInvoicCommissionFeevalue, 0 ) - IFNULL( b.settCommAmount, 0 ) + ifnull( c.invoicNotOther, 0 )) AS "readyCommissionFeevalue",
|
|
|
a.allAmount-(IFNULL(c.settAmountOther,0) +IFNULL(b.settCommAmount ,0)) as "noSettlementAmount"
|
|
a.allAmount-(IFNULL(c.settAmountOther,0) +IFNULL(b.settCommAmount ,0)) as "noSettlementAmount"
|
|
|
FROM
|
|
FROM
|
|
|
(
|
|
(
|
|
@@ -2838,9 +2838,9 @@
|
|
|
a.allAmount as "commissionFeevalue",
|
|
a.allAmount as "commissionFeevalue",
|
|
|
IFNULL(c.settAmountOther,0) +IFNULL(b.settCommAmount ,0) as "noInvoicCommissionFeevalue",
|
|
IFNULL(c.settAmountOther,0) +IFNULL(b.settCommAmount ,0) as "noInvoicCommissionFeevalue",
|
|
|
IFNULL(a.allInvoicCommissionFeevalue,0) - IFNULL( b.settCommAmount,0) + ifnull(c.invoicNotOther,0) as "settlementAmount",
|
|
IFNULL(a.allInvoicCommissionFeevalue,0) - IFNULL( b.settCommAmount,0) + ifnull(c.invoicNotOther,0) as "settlementAmount",
|
|
|
- a.allAmount -(
|
|
|
|
|
- IFNULL( c.settAmountOther, 0 ) + IFNULL( b.settCommAmount, 0 )) - (IFNULL( a.allInvoicCommissionFeevalue, 0 ) - IFNULL( b.settCommAmount, 0 )) AS "readyCommissionFeevalue",
|
|
|
|
|
- a.allAmount-(IFNULL(c.settAmountOther,0) +IFNULL(b.settCommAmount ,0)) as "noSettlementAmount"
|
|
|
|
|
|
|
+ (a.allAmount -(
|
|
|
|
|
+ IFNULL( c.settAmountOther, 0 ) + IFNULL( b.settCommAmount, 0 ))) - (IFNULL( a.allInvoicCommissionFeevalue, 0 ) - IFNULL( b.settCommAmount, 0 ) + ifnull( c.invoicNotOther, 0 )) AS "noSettlementAmount",
|
|
|
|
|
+ a.allAmount-(IFNULL(c.settAmountOther,0) +IFNULL(b.settCommAmount ,0)) as "readyCommissionFeevalue"
|
|
|
FROM
|
|
FROM
|
|
|
(
|
|
(
|
|
|
SELECT
|
|
SELECT
|