日常事务中学生证补办和在校证明审核-补交

This commit is contained in:
2025-08-19 09:00:46 +08:00
parent 06cbb0af4c
commit 90cd647035

View File

@@ -508,6 +508,15 @@
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
</select>
<select id="countStuUnDo" resultType="String" parameterType="String">
@@ -679,7 +688,18 @@
select concat('knzzzzq-',count(a.id)) as `all`
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.dept_id = #{id}
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
</select>