From b744add777170bd48c5ec5122dba67873e8b2919 Mon Sep 17 00:00:00 2001 From: Juj <1005539536@qq.com> Date: Thu, 28 Dec 2023 15:05:02 +0800 Subject: [PATCH] no message --- WMS-BS/NFine.Application/OMAY/OMAYMoOutboundApp.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WMS-BS/NFine.Application/OMAY/OMAYMoOutboundApp.cs b/WMS-BS/NFine.Application/OMAY/OMAYMoOutboundApp.cs index 90a8539..90ee395 100644 --- a/WMS-BS/NFine.Application/OMAY/OMAYMoOutboundApp.cs +++ b/WMS-BS/NFine.Application/OMAY/OMAYMoOutboundApp.cs @@ -26,7 +26,7 @@ namespace NFine.Application.OMAY DataTable table = new DataTable(); string sql = @" select Row_Number() OVER (ORDER BY MOCode desc) AS ID,a.MOCode,a.DepName from (select distinct a.MOCode,b.DepName from dbo.ICSMO a - inner join ICSDepartment b on a.DepCode=b.DepCode and a.WorkPoint=b.WorkPoint where a.MOType='Y')a where 1=1 "; + inner join ICSDepartment b on a.DepCode=b.DepCode and a.WorkPoint=b.WorkPoint where a.ApsStatus='Y')a where 1=1 "; if (!string.IsNullOrEmpty(Code)) { sql += " and a.MOCode like '%" + Code + "%'";