This commit is contained in:
李狗蛋 2025-04-02 11:15:33 +08:00
parent 9317c0ce22
commit 65ab3058c9
3 changed files with 4 additions and 4 deletions

Binary file not shown.

Binary file not shown.

View File

@ -46,8 +46,8 @@ BEGIN
SELECT [SBU],SUM([]) AS '到期金额' INTO #BNTEMP1
FROM ZRP_YingShouMingXi_yuyubo
WHERE
format([],'yyyy-MM-dd') >= @FSDate
AND format([],'yyyy-MM-dd') <= @FEDate
(@FSDate = '' OR [] >= @FSDate)
AND(@FEDate= '' OR [] <= @FEDate)
GROUP BY [SBU]
--
@ -58,8 +58,8 @@ BEGIN
SELECT [SBU],SUM([]) AS '到期金额' INTO #BNZZTEMP1
FROM ZRP_YingShouMingXi_yuyubo
WHERE
[] >= @FSDate
AND [] <= @FEDate
(@FSDate = '' OR [] >= @FSDate)
AND(@FEDate= '' OR [] <= @FEDate)
AND [] = '应收款专责小组'
GROUP BY [SBU]