From 7a0c5479c363a10f573aa15a54dc8130eabd47ff Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期一, 29 一月 2024 11:47:53 +0800
Subject: [PATCH] 修改

---
 zt/core/src/main/resources/mapper/sys/SysPostDao.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/zt/core/src/main/resources/mapper/sys/SysPostDao.xml b/zt/core/src/main/resources/mapper/sys/SysPostDao.xml
index a81d30b..138c798 100644
--- a/zt/core/src/main/resources/mapper/sys/SysPostDao.xml
+++ b/zt/core/src/main/resources/mapper/sys/SysPostDao.xml
@@ -4,7 +4,7 @@
 <mapper namespace="com.zt.modules.sys.dao.SysPostDao">
 
     <select id="getList" resultType="com.zt.modules.sys.model.SysPost">
-        select a.* ,(select t2.dept_name from SYS_DEPT t2 where t2.dept_id=a.dept_id) deptName
+        select a.* ,(select t2.name from SYS_DEPT t2 where t2.id=a.dept_id) deptName
         from SYS_POST a
         where a.is_delete = 0
         <if test="name != null">

--
Gitblit v1.9.1