From d80209eeb503225bcd38544009c3bc8a3b021c54 Mon Sep 17 00:00:00 2001 From: yangtm Date: Fri, 29 Mar 2024 17:47:09 +0800 Subject: [PATCH] no message --- ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSManufactureService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSManufactureService.cs b/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSManufactureService.cs index 9bff8e2..11a0b45 100644 --- a/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSManufactureService.cs +++ b/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSManufactureService.cs @@ -254,7 +254,7 @@ namespace ICSSoft.DataProject try { - string sql = @"IF EXISTS (SELECT ID FROM ICSMOApply WHERE IssueQuantity=Quantity AND ApplyCode='{0}' and WorkPoint='{1}' ) + string sql = @"IF EXISTS (SELECT ID FROM ICSMOApply WHERE IssueQuantity=Quantity AND Quantity>0 AND ApplyCode='{0}' and WorkPoint='{1}' ) BEGIN RAISERROR('" + language.GetNameByCode("WMSAPIInfo472") + @"',16,1); RETURN