From 88a9a4c535e504b3945cf8eeeba06ab53e47305b Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期五, 27 九月 2024 20:01:48 +0800 Subject: [PATCH] 11 --- MES.Service/util/UserUtil.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/MES.Service/util/UserUtil.cs b/MES.Service/util/UserUtil.cs index 8339590..7908e22 100644 --- a/MES.Service/util/UserUtil.cs +++ b/MES.Service/util/UserUtil.cs @@ -6,7 +6,7 @@ { public static (string factory, string company) GetFactory(string user) { - string sql = + var sql = "select t.Ffactory factory, t.Fcompany company from sys_user t where t.fcode = upper(trim('" + user + "'))"; -- Gitblit v1.9.3