diff --git a/srs-comprehensive/src/main/resources/mapper/comprehensive/CphGoodApplyMapper.xml b/srs-comprehensive/src/main/resources/mapper/comprehensive/CphGoodApplyMapper.xml index 85b663c..8944c8b 100644 --- a/srs-comprehensive/src/main/resources/mapper/comprehensive/CphGoodApplyMapper.xml +++ b/srs-comprehensive/src/main/resources/mapper/comprehensive/CphGoodApplyMapper.xml @@ -508,15 +508,16 @@ from knzz_zzq_apply as a left join view_stu_info as b on a.stu_no = b.stu_no where a.apply_status = 3 - -- 绍征文 + -- 邵政文-(日常事务-学生证补办-辅导员审核-学工审核) union select concat('xszb-',count(a.id)) as `all` from rt_stu_id_reissue as a where a.inspection_progress = 1 + -- 邵政文-(日常事务-在校证明申请-辅导员审核-学工审核) union select concat('zxzm-',count(a.id)) as `all` from rt_stu_at_school as a - where a.xgstatus = 0 + where a.xgstatus = 0 or a.xgstatus is null /*庞世斌 4、学生奖惩-先进班集体-学工审核代办*/ union select concat('xjbjt-',count(a.id)) as `all` @@ -704,17 +705,18 @@ from knzz_zzq_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} - -- 绍征文 + -- 邵政文-(日常事务-学生证补办-辅导员审核-学工审核) union select concat('xszb-',count(a.id)) as `all` from rt_stu_id_reissue as a left join view_stu_info as b on a.stu_no = b.stu_no where b.t_no = #{tNo} and a.inspection_progress = 0 + -- 邵政文-(日常事务-在校证明申请-辅导员审核-学工审核) union select concat('zxzm-',count(a.id)) as `all` from rt_stu_at_school as a left join view_stu_info as d on a.student_id = d.stu_no - where d.t_no = #{tNo} and a.status = 0 + where d.t_no = #{tNo} and (a.status = 0 or a.status is null) /* 庞世斌 学生奖惩-先进班集体-辅导员审核代办*/ union select concat('xjbjt-',count(a.id)) as `all`