This commit is contained in:
linfso 2025-05-29 17:51:10 +08:00
parent bb2e950338
commit 8cb2a6012b

View File

@ -151,9 +151,9 @@
tba.deduction_money as deductionMoney,
tba.other_money as otherMoney,
IFNULL( tbb.totalPayMoney, 0 ) AS totalPayMoney,
IFNULL( tbb.recdMoneyIn-tba.satisfy_money-tba.allowance_money-tba.deduction_money-tba.other_money, 0 ) AS recdMoneyIn,
IFNULL( tbb.recdPayMoney60D-tba.satisfy_money-tba.allowance_money-tba.deduction_money-tba.other_money, 0 ) recdPayMoney60D,
IFNULL( tbb.recdPayMoneyGreat60D-tba.satisfy_money-tba.allowance_money-tba.deduction_money-tba.other_money, 0 ) recdPayMoneyGreat60D,
IFNULL( tbb.recdMoneyIn, 0 ) AS recdMoneyIn,
IFNULL( tbb.recdPayMoney60D, 0 ) recdPayMoney60D,
IFNULL( tbb.recdPayMoneyGreat60D, 0 ) recdPayMoneyGreat60D,
(tba.rec_money - tba.reced_money ) AS noRecMoney
FROM
(