From 69b0d1e6eda5a60f16a13f3036672fd5c9fcbace Mon Sep 17 00:00:00 2001 From: zhou keda <1315948824@qq.com> Date: Mon, 22 Jul 2024 12:51:15 +0800 Subject: [PATCH] bug --- ProductionMgr/Tnb.ProductionMgr/TimeWorkService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProductionMgr/Tnb.ProductionMgr/TimeWorkService.cs b/ProductionMgr/Tnb.ProductionMgr/TimeWorkService.cs index 87407b95..e149b0a6 100644 --- a/ProductionMgr/Tnb.ProductionMgr/TimeWorkService.cs +++ b/ProductionMgr/Tnb.ProductionMgr/TimeWorkService.cs @@ -778,7 +778,7 @@ namespace Tnb.ProductionMgr string[] tables = new[] { "base_dictionarydata", "bas_material" }; var erpdb = _db.AsTenant().GetConnection("erpdb"); List list = await erpdb.Queryable().ToListAsync(); - List bomList = await erpdb.Queryable().OrderBy(x=>x.BOMID).OrderBy(x=>x.ROWNO).ToListAsync(); + List bomList = await erpdb.Queryable().ToListAsync(); List erpExtendFields = await _db.Queryable() .Where(x => tables.Contains(x.table_name)).ToListAsync(); Dictionary unitDic = await _db.Queryable()