新增加学务,辅导员,教务,书记的困难资助审批展示

This commit is contained in:
2025-08-15 20:20:39 +08:00
parent 18337b5876
commit 10087857be

View File

@@ -491,6 +491,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select concat('zx-',count(a.id)) as `all` select concat('zx-',count(a.id)) as `all`
from srs_zxj_apply as a from srs_zxj_apply as a
where a.`step` = 3 where a.`step` = 3
<!-- 知无涯 教务困难资助-->
union
select concat('knzz-',count(a.id)) as `all`
from knzz_tufa_apply as a
where a.apply_status = 1
</select> </select>
<select id="countStuUnDo" resultType="String" parameterType="String"> <select id="countStuUnDo" resultType="String" parameterType="String">
@@ -517,8 +522,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select concat('zx-',count(a.id)) as `all` select concat('zx-',count(a.id)) as `all`
from srs_zxj_apply as a from srs_zxj_apply as a
where a.`step` = 4 and a.xh = #{stuNo} where a.`step` = 4 and a.xh = #{stuNo}
union select concat('yxgb-',count(a.id)) as `all` <!-- 知无涯 学生困难资助申请驳回-->
from cph_good_apply as a union
select concat('knzz-',count(a.id)) as `all`
from knzz_tufa_apply as a
where a.apply_status = 6 and a.stu_no = #{stuNo} where a.apply_status = 6 and a.stu_no = #{stuNo}
</select> </select>
@@ -567,6 +574,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN sys_menu m on rm.menu_id = m.menu_id LEFT JOIN sys_menu m on rm.menu_id = m.menu_id
where r.role_key ='stumanger' and m.component = 'poverty/xw' where r.role_key ='stumanger' and m.component = 'poverty/xw'
) )
<!-- 知无涯 学务困难资助 -->
union
select concat('knzz-',count(a.id)) as `all`
from knzz_tufa_apply as a
left join view_stu_info as b on a.stu_no = b.stu_no
where a.apply_status = 1 and b.dept_id = #{id}
</select> </select>
<select id="countFdyUnDo" resultType="String" parameterType="String"> <select id="countFdyUnDo" resultType="String" parameterType="String">
@@ -613,6 +626,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join sys_dept as c on b.dept_code = c.dept_code left join sys_dept as c on b.dept_code = c.dept_code
left join view_stu_info as d on a.stu_no = d.stu_no left join view_stu_info as d on a.stu_no = d.stu_no
where b.zdls_no = #{tNo} and a.apply_status = '1' where b.zdls_no = #{tNo} and a.apply_status = '1'
<!-- 知无涯 辅导员困难资助-->
union
select concat('knzz-',count(a.id)) as `all`
from knzz_tufa_apply as a
left join view_stu_info as b on a.stu_no = b.stu_no
where a.apply_status = 1 and b.t_no = #{tNo}
</select> </select>
@@ -636,6 +655,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN sys_menu m on rm.menu_id = m.menu_id LEFT JOIN sys_menu m on rm.menu_id = m.menu_id
where r.role_key ='Junior_college_leader' where r.role_key ='Junior_college_leader'
) )
<!-- 知无涯 书记困难资助-->
union
select concat('knzz-',count(a.id)) as `all`
from knzz_tufa_apply as a
left join view_stu_info as b on a.stu_no = b.stu_no
where a.apply_status = 1 and b.dept_id = #{id}
</select> </select>