特价明细

This commit is contained in:
2025-07-05 14:29:43 +08:00
parent d430ff1423
commit 958db6f627
4 changed files with 51 additions and 44 deletions

View File

@@ -85,7 +85,7 @@ BEGIN
@amount = @F_AMOUNT - @F_EXPENSES;
END;
PRINT @amount;
IF (@amount >= @FRecAdvanceAmount)
IF (@amount >= @FRecAdvanceAmount and @FRecAdvanceAmount>0)
BEGIN
UPDATE T_SAL_ORDERPLAN
SET F_MBBA_DECIMAL_UKY = @FRecAdvanceAmount