From 188d5f844e22d2c44e6b133bb4eac1f51ae9e26b Mon Sep 17 00:00:00 2001 From: 15976874561 <2553956742@qq.com> Date: Tue, 14 Oct 2025 15:48:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=AD=A6=E7=94=9F=E8=80=83?= =?UTF-8?q?=E5=8B=A4=E6=97=A0=E6=B3=95=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/srs/routine/domain/dto/StuLeaveApplicationDto.java | 4 ++++ .../resources/mapper/routine/RtStuLeaveApplicationMapper.xml | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/srs-routine/src/main/java/com/srs/routine/domain/dto/StuLeaveApplicationDto.java b/srs-routine/src/main/java/com/srs/routine/domain/dto/StuLeaveApplicationDto.java index a101992..dac93ff 100644 --- a/srs-routine/src/main/java/com/srs/routine/domain/dto/StuLeaveApplicationDto.java +++ b/srs-routine/src/main/java/com/srs/routine/domain/dto/StuLeaveApplicationDto.java @@ -40,9 +40,13 @@ public class StuLeaveApplicationDto extends BaseEntity { @ApiModelProperty("班级id") private String classId; + @ApiModelProperty("班级") + private String className; + @ApiModelProperty("辅导员工号") private String userName; @ApiModelProperty("部门id") private Long deptId; + } diff --git a/srs-routine/src/main/resources/mapper/routine/RtStuLeaveApplicationMapper.xml b/srs-routine/src/main/resources/mapper/routine/RtStuLeaveApplicationMapper.xml index 1e98da2..de78883 100644 --- a/srs-routine/src/main/resources/mapper/routine/RtStuLeaveApplicationMapper.xml +++ b/srs-routine/src/main/resources/mapper/routine/RtStuLeaveApplicationMapper.xml @@ -81,7 +81,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" a.leave_status='1' AND a.leave_application_id = #{leaveApplicationId} AND b.stu_no = #{stuNo} - AND a.name = #{name} + AND b.name = #{name} + AND c.class_name = #{className} AND c.class_id = #{classId} AND d.employee_id = #{userName}