From 7a6e4d1132c86c85a3ab4906ccb8558bb50f2540 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E9=B9=8F?= Date: Thu, 24 Apr 2025 15:22:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=98=AF=E5=90=A6=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E5=8E=BB=E9=99=A4=E5=8D=95=E6=8D=AE=E4=B8=AD=E5=B7=B2?= =?UTF-8?q?=E5=8F=91=E5=AE=8C=E6=98=8E=E7=BB=86=E5=A2=9E=E5=8A=A0=E7=AB=99?= =?UTF-8?q?=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs b/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs index 94a2f0d..6c1d3c9 100644 --- a/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs +++ b/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs @@ -88,8 +88,8 @@ namespace ICSSoft.DataProject //} //查询是否需要去除单据中已发完明细 - string excludeSql = @"DECLARE @ExcludeEnable BIT - SET @ExcludeEnable=(SELECT Enable FROM ICSConfiguration WHERE Code='excludeInvDelivered')"; + string excludeSql = string.Format(@"DECLARE @ExcludeEnable BIT + SET @ExcludeEnable=(SELECT Enable FROM ICSConfiguration WHERE Code='excludeInvDelivered' AND WorkPoint='{0}')", JsonData.WorkPoint); if (TransType == TransTypeEnum.ASN.GetDescription() || TransType == TransTypeEnum.OASN.GetDescription()) {