Compare commits

...

3 Commits

Author SHA1 Message Date
fc6b421c8b Merge remote-tracking branch 'origin/main' 2025-08-19 23:03:56 +08:00
52faffdc75 Merge branch 'main' of http://47.112.118.149:10082/xgxt_sd/zhxg_java 2025-08-19 23:00:07 +08:00
eb690f53d6 feat(performance): 添加辅导员管理成果绩效相关查询
- 新增学务初审、书记审核、科室复核和学工处长终审的待办查询
- 在现有的绩效查询基础上增加了成果绩效的统计
- 通过联合查询和条件筛选,实现了对不同审核阶段的待办任务计数
2025-08-19 22:59:53 +08:00

View File

@@ -644,6 +644,12 @@
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('cg-',count(a.check_id)) as `all`
from sys_teacher_achievementcheck as a
left join sys_user as b on a.teacher_id = b.user_name
where a.check_status = 1 and b.dept_id = #{id}
</select>
<select id="countFdyUnDo" resultType="String" parameterType="String">
@@ -756,6 +762,12 @@
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) -- 学工处长待办
# 宁博-辅导员管理--成果绩效----待办 (第3步科室复核 和 第4步学工处长终审)
union
select concat('cg-',count(a.check_id)) as `all`
from sys_teacher_achievementcheck as a
left join sys_user as b on a.teacher_id = b.user_name
where a.check_status in (3, 4)
</select>
@@ -791,6 +803,12 @@
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}
# 宁博-辅导员管理--成果绩效----待办 (第2步书记审核)
union
select concat('cg-',count(a.check_id)) as `all`
from sys_teacher_achievementcheck as a
left join sys_user as b on a.teacher_id = b.user_name
where a.check_status = 2 and b.dept_id = #{id}
</select>