综合素质-综合素质申请审核代办和学生奖惩-先进班集体
This commit is contained in:
@@ -517,6 +517,11 @@
|
|||||||
select concat('zxzm-',count(a.id)) as `all`
|
select concat('zxzm-',count(a.id)) as `all`
|
||||||
from rt_stu_at_school as a
|
from rt_stu_at_school as a
|
||||||
where a.xgstatus = 0
|
where a.xgstatus = 0
|
||||||
|
/*庞世斌 4、学生奖惩-先进班集体-学工审核代办*/
|
||||||
|
union
|
||||||
|
select concat('xjbjt-',count(a.id)) as `all`
|
||||||
|
from cph_new_good_class_apply as a
|
||||||
|
WHERE a.apply_status = 3
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="countStuUnDo" resultType="String" parameterType="String">
|
<select id="countStuUnDo" resultType="String" parameterType="String">
|
||||||
@@ -613,6 +618,16 @@
|
|||||||
from knzz_zzq_apply as a
|
from knzz_zzq_apply as a
|
||||||
left join view_stu_info as b on a.stu_no = b.stu_no
|
left join view_stu_info as b on a.stu_no = b.stu_no
|
||||||
where a.apply_status = 2 and b.dept_id = #{id}
|
where a.apply_status = 2 and b.dept_id = #{id}
|
||||||
|
/*庞世斌 4、学生奖惩-先进班集体-学务审核代办*/
|
||||||
|
union
|
||||||
|
select concat('xjbjt-',count(a.id)) as `all`
|
||||||
|
from cph_new_good_class_apply as a
|
||||||
|
left join srs_class as c on a.class_id = c.class_id
|
||||||
|
left join srs_majors as e on c.major_id = e.major_id
|
||||||
|
left join sys_dept as f on e.college_id = f.dept_id
|
||||||
|
WHERE a.apply_status = 2 and f.dept_id = #{id}
|
||||||
|
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="countFdyUnDo" resultType="String" parameterType="String">
|
<select id="countFdyUnDo" resultType="String" parameterType="String">
|
||||||
@@ -700,6 +715,19 @@
|
|||||||
from rt_stu_at_school as a
|
from rt_stu_at_school as a
|
||||||
left join view_stu_info as d on a.student_id = d.stu_no
|
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
|
||||||
|
/* 庞世斌 学生奖惩-先进班集体-辅导员审核代办*/
|
||||||
|
union
|
||||||
|
select concat('xjbjt-',count(a.id)) as `all`
|
||||||
|
from cph_new_good_class_apply as a
|
||||||
|
left join view_stu_info as b on a.stu_no = b.stu_no
|
||||||
|
WHERE b.t_no = #{tNo} and a.apply_status = 1
|
||||||
|
/*庞世斌 3、综合素质-综合素质申请审核代办*/
|
||||||
|
union
|
||||||
|
select concat('zhsz-',count(a.id)) as `all`
|
||||||
|
from cph_audit_details a
|
||||||
|
left join view_stu_info as b on a.submitter_id = b.stu_id
|
||||||
|
WHERE status_code = 1 and t_no=#{tNo}
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user