From 0a1a407385f1f917ca56267d01b9606bf0b7f4b8 Mon Sep 17 00:00:00 2001 From: zhoukeda <1315948824@qq.com> Date: Wed, 21 Jun 2023 17:39:04 +0800 Subject: [PATCH] bug --- ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs index d31635e0..69c422d5 100644 --- a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs +++ b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs @@ -529,6 +529,7 @@ namespace Tnb.ProductionMgr .WhereIF(moTypeList != null && moTypeList.Count > 0, (a, b, c, d, e) => moTypeList.Contains(a.mo_type)) .WhereIF(!string.IsNullOrEmpty(moCode),(a,b,c,d,e)=>a.mo_code.Contains(moCode)) .WhereIF(!string.IsNullOrEmpty(combineMoCode),(a,b,c,d,e)=>a.combine_mo_code.Contains(combineMoCode)) + .Where((a,b,c,d,e)=>SqlFunc.IsNullOrEmpty(a.parent_id)) .OrderByDescending((a,b,c,d,e)=>a.create_time) .Select((a, b, c, d, e) => new PrdMoListTreeOutput {