From 6225c567da0bfeb08d97333f8b5999e5afc552ad Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: 星期五, 18 七月 2025 14:11:14 +0800
Subject: [PATCH] 修改权限问题
---
multi-system/src/main/resources/mapper/system/ExStudentMapper.xml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/multi-system/src/main/resources/mapper/system/ExStudentMapper.xml b/multi-system/src/main/resources/mapper/system/ExStudentMapper.xml
index 2cb0b2b..c18f90e 100644
--- a/multi-system/src/main/resources/mapper/system/ExStudentMapper.xml
+++ b/multi-system/src/main/resources/mapper/system/ExStudentMapper.xml
@@ -11,6 +11,8 @@
<result property="status" column="status" />
<result property="sex" column="sex" />
<result property="idNo" column="id_no" />
+ <result property="deptId" column="dept_id" />
+ <result property="deptName" column="dept_name" />
<result property="post" column="post" />
<result property="duty" column="duty" />
<result property="createId" column="create_id" />
@@ -40,12 +42,13 @@
</resultMap>
<sql id="selectStudentVo">
- select s.id, s.name, s.company_id, s.empno, s.phone,s.status,s.sex,s.id_no,s.post,s.duty,
+ select s.id, s.name, s.company_id, s.empno, s.phone,s.status,s.sex,s.id_no,s.post,s.duty,s.dept_id,sd.dept_name,
s.create_id,s.del_flag,s.version, s.create_by, s.create_time, s.update_by, s.update_time, s.remark,
c.id as company_id,c.name as company_name,d.name as create_name
from ex_student s
left join sys_company c on c.id=s.company_id
left join sys_user d on d.id=s.create_id
+ left join sys_dept sd on sd.dept_id = s.dept_id
</sql>
<update id="deleteByStudentId">
--
Gitblit v1.9.2