请假流程进一步完善,解决固定值问题

This commit is contained in:
s1431_z_w
2025-09-16 19:10:08 +08:00
parent cc3c73b158
commit d567626855
5 changed files with 23 additions and 11 deletions

View File

@@ -71,10 +71,12 @@
WHERE a.dept_id=#{deptId} AND c.post_code='jwcgl'
</select>
<!-- 获取校领导用户信息 -->
<select id="getLingDataInfo" resultType="com.srs.common.doman.vo.TeacherVo">
<!-- 获取审批用户信息 -->
<select id="getShenDataInfo" resultType="com.srs.common.doman.vo.TeacherVo">
SELECT a.user_id userId,a.dept_id deptId,a.nick_name userNick,a.user_name userName FROM sys_user a
WHERE a.user_id=#{userId}
LEFT JOIN sys_user_role b ON a.user_id = b.user_id
LEFT JOIN sys_role c ON b.role_id=c.role_id
WHERE c.role_key=#{roleKey}
</select>
<!-- 查询学生用户信息 -->