日常事务中学生证补办和在校证明审核
This commit is contained in:
@@ -502,6 +502,14 @@
|
||||
from knzz_gl_apply as a
|
||||
left join view_stu_info as b on a.stu_no = b.stu_no
|
||||
where a.apply_status = 1
|
||||
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">
|
||||
@@ -662,6 +670,16 @@
|
||||
from knzz_gl_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
|
||||
</select>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user