From 2f48267f8b9b7ffa912933f651add73da35fe15f Mon Sep 17 00:00:00 2001 From: zyf <1071160500@qq.com> Date: 星期三, 07 五月 2025 09:37:17 +0800 Subject: [PATCH] 销售订单插入bug修复 --- 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