辅导员管理-添加班级类型参数支持按类型筛选

- 在多个服务接口中添加classType参数,包括考勤管理、业务工作、负面清单等服务
- 更新控制器方法以接收班级类型参数并传递给服务层
- 在实体类中添加classType字段,支持毕业班和非毕业班分类
- 修改数据访问层实现以支持按班级类型查询过滤
- 更新MyBatis映射文件中的SQL查询,添加classType条件判断
- 为业务工作模块添加其他任务分数字段和其他相关功能
- 在主表映射中添加班级类型字段,完善数据结构设计
This commit is contained in:
2026-03-13 15:11:56 +08:00
parent 41d310ca2f
commit 6d6814efa7
38 changed files with 314 additions and 62 deletions

View File

@@ -22,30 +22,39 @@
<result property="xgczOpinion" column="xgcz_opinion"/>
<result property="auditProgress" column="audit_progress"/>
<result property="jobNumber" column="job_number"/>
<!--个人填报-学生管理子表的集合 多条件查询column里传入了多条件【{fdyName = fdy_name, fillingYear = filling_year, fillingMonth = filling_month}】javaType里面写了list表明你有多条件 fdyName属性 fdy_name字段-->
<result property="classType" column="class_type"/>
<!--个人填报-学生管理子表的集合 -->
<collection property="kpiFillingStuMgtList"
column="{fdyName = fdy_name, fillingYear = filling_year, fillingMonth = filling_month}"
column="{fdyName = fdy_name, fillingYear = filling_year, fillingMonth = filling_month, classType = class_type}"
javaType="java.util.ArrayList" select="selectKpiFillingStuMgtById"/>
<!--个人填报-业务工作子表的集合 多条件查询column里传入了多条件【{fdyName = fdy_name, fillingYear = filling_year, fillingMonth = filling_month}】javaType里面写了list表明你有多条件 fdyName属性 fdy_name字段-->
<!--个人填报-业务工作子表的集合 -->
<collection property="kpiFillingBusinessWorksList"
column="{fdyName = fdy_name, fillingYear = filling_year, fillingMonth = filling_month}"
column="{fdyName = fdy_name, fillingYear = filling_year, fillingMonth = filling_month, classType = class_type}"
javaType="java.util.ArrayList" select="selectKpiFillingBusinessWorksById"/>
<!--个人填报-考勤管理子表的集合 多条件查询column里传入了多条件【{fdyName = fdy_name, fillingYear = filling_year, fillingMonth = filling_month}】javaType里面写了list表明你有多条件 fdyName属性 fdy_name字段-->
<!--个人填报-考勤管理子表的集合 -->
<collection property="kpiFillingAMgtList"
column="{fdyName = fdy_name, fillingYear = filling_year, fillingMonth = filling_month}"
column="{fdyName = fdy_name, fillingYear = filling_year, fillingMonth = filling_month, classType = class_type}"
javaType="java.util.ArrayList" select="selectKpiFillingAMgtById"/>
<!--个人填报-负面清单子表的集合 多条件查询column里传入了多条件【{fdyName = fdy_name, fillingYear = filling_year, fillingMonth = filling_month}】javaType里面写了list表明你有多条件 fdyName属性 fdy_name字段-->
<!--个人填报-负面清单子表的集合 -->
<collection property="kpiFillingNegativeLists"
column="{fdyName = fdy_name, fillingYear = filling_year, fillingMonth = filling_month}"
column="{fdyName = fdy_name, fillingYear = filling_year, fillingMonth = filling_month, classType = class_type}"
javaType="java.util.ArrayList" select="KpiFillingNegativeListById"/>
<!--个人填报-超工作量奖励绩效子表的集合 多条件查询column里传入了多条件【{fdyName = fdy_name, fillingYear = filling_year, fillingMonth = filling_month}】javaType里面写了list表明你有多条件 fdyName属性 fdy_name字段-->
<!--个人填报-超工作量奖励绩效子表的集合 -->
<collection property="kpiFillingRewardsKpiList"
column="{fdyName = fdy_name, fillingYear = filling_year, fillingMonth = filling_month}"
column="{fdyName = fdy_name, fillingYear = filling_year, fillingMonth = filling_month, classType = class_type}"
javaType="java.util.ArrayList" select="selectKpiFillingRewardsKpiById"/>
<!--个人填报-处理学生突发事件子表的集合 多条件查询column里传入了多条件【{fdyName = fdy_name, fillingYear = filling_year, fillingMonth = filling_month}】javaType里面写了list表明你有多条件 fdyName属性 fdy_name字段-->
<!--个人填报-处理学生突发事件子表的集合 -->
<collection property="kpiFillingStuEmergencyList"
column="{fdyName = fdy_name, fillingYear = filling_year, fillingMonth = filling_month}"
column="{fdyName = fdy_name, fillingYear = filling_year, fillingMonth = filling_month, classType = class_type}"
javaType="java.util.ArrayList" select="selectKpiFillingStuEmergencyById"/>
<!--个人填报-加分项子表的集合 -->
<collection property="kpiFillingBonusPointsList"
column="{fdyName = fdy_name, fillingYear = filling_year, fillingMonth = filling_month, classType = class_type}"
javaType="java.util.ArrayList" select="selectKpiFillingBonusPointsById"/>
<!--个人填报-就业指导工作子表的集合 -->
<collection property="kpiFillingGraduationGuidanceList"
column="{fdyName = fdy_name, fillingYear = filling_year, fillingMonth = filling_month, classType = class_type}"
javaType="java.util.ArrayList" select="selectKpiFillingGraduationGuidanceById"/>
</resultMap>
<!--个人填报-学生管理子表的映射 -->
@@ -147,6 +156,27 @@
<result property="fillingMonth" column="filling_month"/>
</resultMap>
<!--个人填报-加分项子表的映射 -->
<resultMap type="SysTeacherKpiFillingBonusPoints" id="SysTeacherKpiFillingBonusPointsResult">
<result property="id" column="id"/>
<result property="bonusType" column="bonus_type"/>
<result property="bonusScoring" column="bonus_scoring"/>
<result property="fdyName" column="fdy_name"/>
<result property="fillingYear" column="filling_year"/>
<result property="fillingMonth" column="filling_month"/>
</resultMap>
<!--个人填报-就业指导工作子表的映射 -->
<resultMap type="SysTeacherKpiFillingGraduationGuidance" id="SysTeacherKpiFillingGraduationGuidanceResult">
<result property="id" column="id"/>
<result property="gradFormAuditScoring" column="grad_form_audit_scoring"/>
<result property="stuCareerConsultScoring" column="stu_career_consult_scoring"/>
<result property="gradFormGuidanceScoring" column="grad_form_guidance_scoring"/>
<result property="fdyName" column="fdy_name"/>
<result property="fillingYear" column="filling_year"/>
<result property="fillingMonth" column="filling_month"/>
</resultMap>
<!--个人填报-学生管理子表的数据-->
<select id="selectKpiFillingStuMgtById" resultMap="SysTeacherKpiFillingStuMgtResult">
select *
@@ -161,6 +191,9 @@
<if test="fillingMonth != null and fillingMonth != ''">
and filling_month = #{fillingMonth}
</if>
<if test="classType != null and classType != ''">
and class_type = #{classType}
</if>
</where>
</select>
<!--个人填报-业务工作子表的数据-->
@@ -177,6 +210,9 @@
<if test="fillingMonth != null and fillingMonth != ''">
and filling_month = #{fillingMonth}
</if>
<if test="classType != null and classType != ''">
and class_type = #{classType}
</if>
</where>
</select>
@@ -194,6 +230,9 @@
<if test="fillingMonth != null and fillingMonth != ''">
and filling_month = #{fillingMonth}
</if>
<if test="classType != null and classType != ''">
and class_type = #{classType}
</if>
</where>
</select>
@@ -211,6 +250,9 @@
<if test="fillingMonth != null and fillingMonth != ''">
and filling_month = #{fillingMonth}
</if>
<if test="classType != null and classType != ''">
and class_type = #{classType}
</if>
</where>
</select>
@@ -228,6 +270,9 @@
<if test="fillingMonth != null and fillingMonth != ''">
and filling_month = #{fillingMonth}
</if>
<if test="classType != null and classType != ''">
and class_type = #{classType}
</if>
</where>
order by id desc
</select>
@@ -246,8 +291,50 @@
<if test="fillingMonth != null and fillingMonth != ''">
and filling_month = #{fillingMonth}
</if>
<if test="classType != null and classType != ''">
and class_type = #{classType}
</if>
</where>
</select>
<!--个人填报-加分项子表的数据-->
<select id="selectKpiFillingBonusPointsById" resultMap="SysTeacherKpiFillingBonusPointsResult">
select *
from sys_teacher_kpi_filling_bonus_points
<where>
<if test="fdyName != null and fdyName != ''">
and fdy_name = #{fdyName}
</if>
<if test="fillingYear != null and fillingYear != ''">
and filling_year = #{fillingYear}
</if>
<if test="fillingMonth != null and fillingMonth != ''">
and filling_month = #{fillingMonth}
</if>
<if test="classType != null and classType != ''">
and class_type = #{classType}
</if>
</where>
</select>
<!--个人填报-就业指导工作子表的数据-->
<select id="selectKpiFillingGraduationGuidanceById" resultMap="SysTeacherKpiFillingGraduationGuidanceResult">
select *
from sys_teacher_kpi_filling_graduation_guidance
<where>
<if test="fdyName != null and fdyName != ''">
and fdy_name = #{fdyName}
</if>
<if test="fillingYear != null and fillingYear != ''">
and filling_year = #{fillingYear}
</if>
<if test="fillingMonth != null and fillingMonth != ''">
and filling_month = #{fillingMonth}
</if>
<if test="classType != null and classType != ''">
and class_type = #{classType}
</if>
</where>
order by id desc
</select>
<!--个人填报-学生管理-干部会议佐证材料子子表的映射 -->
@@ -461,7 +548,8 @@
ks_opinion,
xgcz_opinion,
audit_progress,
job_number
job_number,
class_type
from sys_teacher_kpi_filling
</sql>
@@ -522,6 +610,7 @@
<if test="xgczOpinion != null">xgcz_opinion,</if>
<if test="auditProgress != null">audit_progress,</if>
<if test="jobNumber != null">job_number,</if>
<if test="classType != null and classType != ''">class_type,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="fdyName != null and fdyName != ''">#{fdyName},</if>
@@ -540,6 +629,7 @@
<if test="xgczOpinion != null">#{xgczOpinion},</if>
<if test="auditProgress != null">#{auditProgress},</if>
<if test="jobNumber != null">#{jobNumber},</if>
<if test="classType != null and classType != ''">#{classType},</if>
</trim>
</insert>
@@ -562,6 +652,7 @@
<if test="xgczOpinion != null">xgcz_opinion = #{xgczOpinion},</if>
<if test="auditProgress != null">audit_progress = #{auditProgress},</if>
<if test="jobNumber != null">job_number = #{jobNumber},</if>
<if test="classType != null and classType != ''">class_type = #{classType},</if>
</trim>
where id = #{id}
</update>