铺导员综合绩效 中职升高职困难学生学费补助
This commit is contained in:
		@@ -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
 | 
			
		||||
    </select>
 | 
			
		||||
 | 
			
		||||
    <select id="countStuUnDo" resultType="String" parameterType="String">
 | 
			
		||||
@@ -613,6 +618,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 = 2 and b.dept_id = #{id}
 | 
			
		||||
        <!-- 知无涯"中职升高职" 学务审核  -->
 | 
			
		||||
        union
 | 
			
		||||
        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 NULL and b.dept_id = #{id}
 | 
			
		||||
        <!--  知无涯"铺导员综合绩效"  (第1步:学务初审)  -->
 | 
			
		||||
        union
 | 
			
		||||
        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 NULL and b.dept_id = #{id}
 | 
			
		||||
    </select>
 | 
			
		||||
 | 
			
		||||
    <select id="countFdyUnDo" resultType="String" parameterType="String">
 | 
			
		||||
@@ -700,6 +717,18 @@
 | 
			
		||||
        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
 | 
			
		||||
        <!--  知无涯"中职升高职" 辅导员审核  -->
 | 
			
		||||
        union
 | 
			
		||||
        select concat('zsg-',count(a.id)) as `all`
 | 
			
		||||
        from knzz_zsg_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}
 | 
			
		||||
        <!--知无涯 "铺导员综合绩效" 待办 (第3步:科室复核 和 第4步:学工处长终审)  -->
 | 
			
		||||
        union
 | 
			
		||||
        select concat('jx-',count(a.id)) as `all`
 | 
			
		||||
        from sys_performance as a
 | 
			
		||||
        where (a.shstatus IS NOT NULL and a.ksstatus IS NULL) -- 科室复核待办
 | 
			
		||||
        or (a.ksstatus IS NOT NULL and a.xgstatus IS NULL) -- 学工处长待办
 | 
			
		||||
    </select>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@@ -723,13 +752,12 @@
 | 
			
		||||
                                     LEFT JOIN sys_menu m on rm.menu_id = m.menu_id
 | 
			
		||||
                where r.role_key ='Junior_college_leader'
 | 
			
		||||
            )
 | 
			
		||||
<!--            知无涯 书记困难资助-->
 | 
			
		||||
        <!-- 知无涯  "铺导员综合绩效"  (第2步:书记审核)  -->
 | 
			
		||||
        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}
 | 
			
		||||
    </select>
 | 
			
		||||
 | 
			
		||||
</mapper>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user