2024年9月25日 修复问题

This commit is contained in:
bai 2024-09-25 10:28:06 +08:00
parent fb961e15a2
commit 400025849e
1 changed files with 7 additions and 7 deletions

View File

@ -582,18 +582,18 @@
<!-- 不同岗位类型教师在各项工作上的平均时间投入-->
<select id="getSelectBtgwlxjszgxgzrdpjsjtr" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select '教学科研型' as lsname,
format(round(sum(JSKC_YJS)/count('x'),2)*100,0) as tj1,
format(round(sum(JSKC_ZYXXK)/count('x'),2)*100,0) as tj2,
format(round(sum(JSKC_DNJ)/count('x'),2)*100,0) as tj3,
format(round(sum(JSKC_GNJ)/count('x'),2)*100,0) as tj4,
format(round(sum(JSKC_GGTS)/count('x'),2)*100,0) as tj5
format(round(sum(JSKC_DNJ)/count('x'),2)*100,0) as tj1,<!-- 低年级本科专业必修课 -->
format(round(sum(JSKC_ZYXXK)/count('x'),2)*100,0) as tj2,<!-- 专业选修课 -->
format(round(sum(JSKC_YJS)/count('x'),2)*100,0) as tj3,<!-- 研究生课程 -->
format(round(sum(JSKC_GNJ)/count('x'),2)*100,0) as tj4,<!-- 高年级本科专业必修课 -->
format(round(sum(JSKC_GGTS)/count('x'),2)*100,0) as tj5<!-- 公共通识课程 -->
from bl_teacher_answer
where main_id = #{id} and POSITIONTYPE = '教学科研型'
union ALL
select '教学型' as lsname,
format(round(sum(JSKC_YJS)/count('x'),2)*100,0) as tj1,
format(round(sum(JSKC_DNJ)/count('x'),2)*100,0) as tj1,
format(round(sum(JSKC_ZYXXK)/count('x'),2)*100,0) as tj2,
format(round(sum(JSKC_DNJ)/count('x'),2)*100,0) as tj3,
format(round(sum(JSKC_YJS)/count('x'),2)*100,0) as tj3,
format(round(sum(JSKC_GNJ)/count('x'),2)*100,0) as tj4,
format(round(sum(JSKC_GGTS)/count('x'),2)*100,0) as tj5
from bl_teacher_answer