This commit is contained in:
余宇波 2025-06-06 10:54:08 +08:00
parent b44b51f138
commit ef80abc9fa
2 changed files with 8 additions and 1 deletions

Binary file not shown.

View File

@ -6,11 +6,18 @@ go
--sp_helptext UpdateSalOrderAmount
Alter proc UpdateSalOrderAmount
(
@fid NVARCHAR(1000)
@fid BIGINT
)
AS
BEGIN
--
UPDATE T_AutoWrireRecordEntry SET FALLAMOUNT2=FALLAMOUNT22
WHERE fid=@fid
UPDATE T_AutoWrireRecordEntry2 SET FALLAMOUNT3=FALLAMOUNT33
WHERE fid=@fid
UPDATE C SET F_Amount =c.F_Amount+ISNULL( d.,0)
FROM T_AutoWrireRecord A
INNER JOIN T_AutoWrireRecordEntry B ON A.FID = B.FID