demand: tms-统计报表-财务收款统计-逾期已收金额(60天)金额计算不准确问题解决
This commit is contained in:
parent
a1e5c34b2b
commit
c60b058d05
@ -209,7 +209,7 @@
|
||||
if( tbb.totalPayMoney > 0,tbb.totalPayMoney-tbc.totalOtherMoney, 0 ) AS totalPayMoney,
|
||||
if( tbb.recdMoneyIn > 0,tbb.recdMoneyIn-tbc.totalOtherMoney,0) AS recdMoneyIn,
|
||||
if( tbb.recdPayMoney60D > 0,tbb.recdPayMoney60D-tbc.totalOtherMoney,0) recdPayMoney60D,
|
||||
if( tbb.recdPayMoneyGreat60D >0,tbb.recdPayMoneyGreat60D-tbc.totalOtherMoney,0) recdPayMoneyGreat60D,
|
||||
if( tbb.recdPayMoneyGreat60D >0,tbb.recdPayMoneyGreat60D,0) recdPayMoneyGreat60D,
|
||||
( tba.rec_money - tba.reced_money - tbc.totalOtherMoney ) AS noRecMoney
|
||||
FROM
|
||||
(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user