From 1e1b8c262ebe02e82f93c4344f9feb9624f77b52 Mon Sep 17 00:00:00 2001 From: zyf <1071160500@qq.com> Date: 星期二, 17 六月 2025 19:17:10 +0800 Subject: [PATCH] BOM接口优化逻辑 --- 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