解决学生考勤无法搜索
This commit is contained in:
@@ -40,9 +40,13 @@ public class StuLeaveApplicationDto extends BaseEntity {
|
|||||||
@ApiModelProperty("班级id")
|
@ApiModelProperty("班级id")
|
||||||
private String classId;
|
private String classId;
|
||||||
|
|
||||||
|
@ApiModelProperty("班级")
|
||||||
|
private String className;
|
||||||
|
|
||||||
@ApiModelProperty("辅导员工号")
|
@ApiModelProperty("辅导员工号")
|
||||||
private String userName;
|
private String userName;
|
||||||
|
|
||||||
@ApiModelProperty("部门id")
|
@ApiModelProperty("部门id")
|
||||||
private Long deptId;
|
private Long deptId;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -81,7 +81,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
a.leave_status='1'
|
a.leave_status='1'
|
||||||
<if test="leaveApplicationId != null and leaveApplicationId != ''">AND a.leave_application_id = #{leaveApplicationId}</if>
|
<if test="leaveApplicationId != null and leaveApplicationId != ''">AND a.leave_application_id = #{leaveApplicationId}</if>
|
||||||
<if test="stuNo!=null and stuNo != '' ">AND b.stu_no = #{stuNo}</if>
|
<if test="stuNo!=null and stuNo != '' ">AND b.stu_no = #{stuNo}</if>
|
||||||
<if test="name != null and name != '' ">AND a.name = #{name}</if>
|
<if test="name != null and name != '' ">AND b.name = #{name}</if>
|
||||||
|
<if test="className != null and className != '' ">AND c.class_name = #{className}</if>
|
||||||
<if test="classId != null and classId != '' ">AND c.class_id = #{classId}</if>
|
<if test="classId != null and classId != '' ">AND c.class_id = #{classId}</if>
|
||||||
<if test="userName != null and userName != '' ">AND d.employee_id = #{userName}</if>
|
<if test="userName != null and userName != '' ">AND d.employee_id = #{userName}</if>
|
||||||
</where>
|
</where>
|
||||||
|
|||||||
Reference in New Issue
Block a user