This commit is contained in:
liqionghai 2025-07-23 09:44:27 +08:00
parent ad0d06d098
commit 49dbc68723

View File

@ -164,7 +164,7 @@ namespace Pilot.Report.Exploitation.AccountsReceivableStatements
", FSDate,fDate,ZZFID,fClient,XSYFID,ZZHTH);
sql += string.Format(@"/*dialect*/
INSERT INTO YingShouZhanKuanMX_GZTH(NUMBER,FQTY,FTAXPRICE,FALLAMOUNT,OrderAmount,ShipmentsNum,ShipmentsAmount,
ReturnNum,ReturnAmount,BillingAmount,PaymentAmount,ShippedDebt,InvoicedDebt,OwedTickets)
ReturnNum,ReturnAmount,BillingAmount,PaymentAmount,ShippedDebt,InvoicedDebt,OwedTickets,[K3专票金额],[K3普票金额])
SELECT
'',
SUM(FQTY),
@ -179,7 +179,9 @@ namespace Pilot.Report.Exploitation.AccountsReceivableStatements
SUM(PaymentAmount),
SUM(ShippedDebt),
SUM(InvoicedDebt),
SUM(OwedTickets)
SUM(OwedTickets),
SUM([K3专票金额]),
SUM([K3普票金额])
FROM
YingShouZhanKuanMX_GZTH
where 1=1