diff --git a/srs-comprehensive/src/main/resources/mapper/comprehensive/CphGoodApplyMapper.xml b/srs-comprehensive/src/main/resources/mapper/comprehensive/CphGoodApplyMapper.xml index 9d73551..24d8cdb 100644 --- a/srs-comprehensive/src/main/resources/mapper/comprehensive/CphGoodApplyMapper.xml +++ b/srs-comprehensive/src/main/resources/mapper/comprehensive/CphGoodApplyMapper.xml @@ -517,6 +517,11 @@ select concat('zxzm-',count(a.id)) as `all` from rt_stu_at_school as a where a.xgstatus = 0 + + union + select concat('zsg-',count(a.id)) as `all` + from knzz_zsg_apply as a + where a.apply_status = 3 @@ -723,13 +752,12 @@ LEFT JOIN sys_menu m on rm.menu_id = m.menu_id 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 concat('jx-',count(a.id)) as `all` + from sys_performance as a + left join sys_user as b on a.credit_pass = b.user_name + where a.xwstatus IS NOT NULL and a.shstatus IS NULL and b.dept_id = #{id}