From 9441a216b632f9fb8f549a8278fc337367a08a4e Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期三, 06 八月 2025 09:02:13 +0800
Subject: [PATCH] 1.调拨出库优化 2.其他出库优化调整

---
 service/base/LoginService.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/service/base/LoginService.cs b/service/base/LoginService.cs
index 89fcf9d..e43cb5e 100644
--- a/service/base/LoginService.cs
+++ b/service/base/LoginService.cs
@@ -35,7 +35,7 @@
         else
         {
             string sql = string.Format(@"SELECT A.* FROM MES_SYS_PAGEVIEW A
-         LEFT JOIN SYS_USER_BIND B ON A.guid = B.aboutGuid
+         LEFT JOIN SYS_USER_BIND B ON CAST(A.guid AS VARCHAR(100)) = B.aboutGuid
          LEFT JOIN SYS_USER C ON C.GUID = B.userGuid
         WHERE C.ACCOUNT = '{0}'", name);
             pageViewList = Db.Ado.SqlQuery<MesSysPageview>(sql);

--
Gitblit v1.9.3