From 0b26067b6cc5d531938fa79cb540a45e125261d2 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期五, 12 一月 2024 14:55:54 +0800
Subject: [PATCH] 1.App版本升级接口 2.模具清单新增、导入添加仓库、库位字段 3.MES工单查询增加明细id关联

---
 VueWebCoreApi/DLL/DAL/BasicSettingDAL.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/VueWebCoreApi/DLL/DAL/BasicSettingDAL.cs b/VueWebCoreApi/DLL/DAL/BasicSettingDAL.cs
index 8b4db5a..45686f7 100644
--- a/VueWebCoreApi/DLL/DAL/BasicSettingDAL.cs
+++ b/VueWebCoreApi/DLL/DAL/BasicSettingDAL.cs
@@ -1208,7 +1208,8 @@
                             FROM TUser U
                             inner join cte on U.storg_code=cte.torg_code
                             left join TOrganization T on U.storg_code=T.torg_code 
-                            left join TUser S on U.lm_user=S.usercode " + search + "";
+                            left join TUser S on U.lm_user=S.usercode 
+                            where 1=1 " + search + "";
                 var data = DapperHelper.GetPagedDataWith<object>(withsql, sql, dynamicParams, prop, order, startNum, endNum, out total);
                 mes.code = "200";
                 mes.message = "鏌ヨ鎴愬姛!";

--
Gitblit v1.9.3