学生画像之本学期课表修改为思想品得加分申请

This commit is contained in:
2025-10-24 21:19:19 +08:00
parent 7c2ab5e37a
commit 508fa61c70
6 changed files with 58 additions and 19 deletions

View File

@@ -238,11 +238,24 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and c.stu_no = #{stuNo}
and b.stu_year_id = #{stuYearId}
</select>
<select id="ListCheckRecord" parameterType="CheckIam" resultType="SrsAddRecord">
select a.*,b.rule_name
from srs_add_record as a
left join cph_rules as b on a.rule_id = b.rule_id
where stu_no = #{stuNo} and stu_year_id = #{stuYearId};
</select>
<select id="getcphiamByOne" resultType="com.srs.comprehensive.domain.CphAuditDetails" parameterType="String">
select c.rule_name as rule_name, g.stu_year_name as stu_year_name,a.iam_score as operate_score
from cph_iam as a
left join srs_student as b on a.to_add = b.stu_id
left join cph_rules as c on a.rule_id = c.rule_id
left join srs_class as d on b.class_id = d.class_id
left join srs_majors as e on d.major_id = e.major_id
left join sys_dept as f on e.college_id = f.dept_id
left join srs_stu_year as g on a.stu_year_id = g.id
left join cph_audit_details as h on a.id = h.project_id
where b.stu_no = #{stuNo} and audit_status=6
ORDER BY a.create_time desc
</select>
</mapper>