From ae7f04be9321ddbe17c46fae8ab05d34e7493f9f Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期三, 19 二月 2025 13:40:06 +0800
Subject: [PATCH] 管理后台bug修改

---
 medicalWaste-system/src/main/resources/mapper/system/MwProtectionTaskMapper.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/medicalWaste-system/src/main/resources/mapper/system/MwProtectionTaskMapper.xml b/medicalWaste-system/src/main/resources/mapper/system/MwProtectionTaskMapper.xml
index 5249a23..f2b8dfc 100644
--- a/medicalWaste-system/src/main/resources/mapper/system/MwProtectionTaskMapper.xml
+++ b/medicalWaste-system/src/main/resources/mapper/system/MwProtectionTaskMapper.xml
@@ -37,10 +37,12 @@
         MPT.CREATE_TIME,
         SD.DEPARTMENT_NAME,
         WM_CONCAT(MA.FILE_NAME) AS fileName,
-        MPT.RELATION
+        MPT.RELATION,
+        SU.NICK_NAME
         FROM MW_PROTECTION_TASK MPT
         LEFT JOIN SYS_DEPARTMENT SD ON MPT.DEPARTMENT_ID = SD.ID
         LEFT JOIN (SELECT * FROM MW_ATTACHMENT WHERE "TYPE" = 2) MA ON MA.TARGET_ID = MPT.ID
+        LEFT JOIN SYS_USER SU ON SU.USER_ID = MPT.CREATE_BY
         <where>
             MPT.DEL_FLAG = 0
             <if test="treeCode != null and treeCode != ''">

--
Gitblit v1.7.1