修改老师反馈问题

This commit is contained in:
yangjun 2024-07-20 15:01:58 +08:00
parent 0399cdf7be
commit 2de4532757
7 changed files with 897 additions and 836 deletions

View File

@ -183,4 +183,5 @@ public interface BlTeacherAnswerMapper extends BaseMapper<BlTeacherAnswer> {
BlTeacherAnswer getSelectJxrwfpqkbfb2(BlTeacherInfo blTeacherMain);
List<BlTeacherAnswer> getSelectzytjpj32(BlTeacherInfo blTeacherMain);
}

View File

@ -68,7 +68,7 @@
(select DEPARTMENT,COUNT(*) as dep_cnt FROM bl_teacher_answer where main_id = #{id} GROUP BY DEPARTMENT)a,
(select count(*) as tot_cnt from bl_teacher_answer where main_id = #{id}) b
where format(round(a.dep_cnt/b.tot_cnt,2)*100,0) + 0 > 0
order by a.DEPARTMENT
ORDER BY to_pinyin(DEPARTMENT) asc
</select>
<!-- 师德师风互评柱状图-->
<select id="getSelectSdsfhpzzt" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
@ -329,34 +329,34 @@
<select id="getSelectJxnlpjTjt" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select * from (
select '目标明确,熟悉教材,了解学生,教学认知能力强' as lsname,format(round(a.fc_cnt/d.tot_cnt,2)*100,0) as tj1,format(round(b.bj_cnt/d.tot_cnt,2)*100,0) as tj2,format(round(c.yb_cnt/d.tot_cnt,2)*100,0) as tj3 from
(select count('x') as fc_cnt from bl_teacher_answer where main_id = #{id} and SKILL_KNOW ='非常符合')a,
(select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and SKILL_KNOW ='比较符合')b,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and SKILL_KNOW ='一般')c,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} ) d
(select count('x') as fc_cnt from bl_teacher_answer where main_id = #{id} and SKILL_KNOW ='非常符合' and POSITIONTYPE not in ('辅导员','教学科研型'))a,
(select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and SKILL_KNOW ='比较符合' and POSITIONTYPE not in ('辅导员','教学科研型'))b,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and SKILL_KNOW ='一般' and POSITIONTYPE not in ('辅导员','教学科研型'))c,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')) d
union all
select '教学组织合理,教学方法得当,教学设计能力强' as lsname,format(round(a.fc_cnt/d.tot_cnt,2)*100,0) as tj1,format(round(b.bj_cnt/d.tot_cnt,2)*100,0) as tj2,format(round(c.yb_cnt/d.tot_cnt,2)*100,0) as tj3 from
(select count('x') as fc_cnt from bl_teacher_answer where main_id = #{id} and SKILL_DESIGN ='非常符合')a,
(select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and SKILL_DESIGN ='比较符合')b,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and SKILL_DESIGN ='一般')c,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} ) d
(select count('x') as fc_cnt from bl_teacher_answer where main_id = #{id} and SKILL_DESIGN ='非常符合' and POSITIONTYPE not in ('辅导员','教学科研型'))a,
(select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and SKILL_DESIGN ='比较符合' and POSITIONTYPE not in ('辅导员','教学科研型'))b,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and SKILL_DESIGN ='一般' and POSITIONTYPE not in ('辅导员','教学科研型'))c,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')) d
union all
select '灵活变通教学思路,机智应对突发状况,教学调控能力强' as lsname,format(round(a.fc_cnt/d.tot_cnt,2)*100,0) as tj1,format(round(b.bj_cnt/d.tot_cnt,2)*100,0) as tj2,format(round(c.yb_cnt/d.tot_cnt,2)*100,0) as tj3 from
(select count('x') as fc_cnt from bl_teacher_answer where main_id = #{id} and SKILL_CTRL ='非常符合')a,
(select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and SKILL_CTRL ='比较符合')b,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and SKILL_CTRL ='一般')c,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} ) d
(select count('x') as fc_cnt from bl_teacher_answer where main_id = #{id} and SKILL_CTRL ='非常符合' and POSITIONTYPE not in ('辅导员','教学科研型'))a,
(select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and SKILL_CTRL ='比较符合' and POSITIONTYPE not in ('辅导员','教学科研型'))b,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and SKILL_CTRL ='一般' and POSITIONTYPE not in ('辅导员','教学科研型'))c,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')) d
union all
select '积极将现代信息技术与教育教学深度融合,运用教学媒介能力强' as lsname,format(round(a.fc_cnt/d.tot_cnt,2)*100,0) as tj1,format(round(b.bj_cnt/d.tot_cnt,2)*100,0) as tj2,format(round(c.yb_cnt/d.tot_cnt,2)*100,0) as tj3 from
(select count('x') as fc_cnt from bl_teacher_answer where main_id = #{id} and SKILL_TECH ='非常符合')a,
(select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and SKILL_TECH ='比较符合')b,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and SKILL_TECH ='一般')c,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} ) d
(select count('x') as fc_cnt from bl_teacher_answer where main_id = #{id} and SKILL_TECH ='非常符合' and POSITIONTYPE not in ('辅导员','教学科研型'))a,
(select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and SKILL_TECH ='比较符合' and POSITIONTYPE not in ('辅导员','教学科研型'))b,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and SKILL_TECH ='一般' and POSITIONTYPE not in ('辅导员','教学科研型'))c,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')) d
union all
select '坚持产出导向,定量定性相结合,综合知识、能力与素质' as lsname,format(round(a.fc_cnt/d.tot_cnt,2)*100,0) as tj1,format(round(b.bj_cnt/d.tot_cnt,2)*100,0) as tj2,format(round(c.yb_cnt/d.tot_cnt,2)*100,0) as tj3 from
(select count('x') as fc_cnt from bl_teacher_answer where main_id = #{id} and SKILL_ASSESS ='非常符合')a,
(select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and SKILL_ASSESS ='比较符合')b,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and SKILL_ASSESS ='一般')c,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} ) d
(select count('x') as fc_cnt from bl_teacher_answer where main_id = #{id} and SKILL_ASSESS ='非常符合' and POSITIONTYPE not in ('辅导员','教学科研型'))a,
(select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and SKILL_ASSESS ='比较符合' and POSITIONTYPE not in ('辅导员','教学科研型'))b,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and SKILL_ASSESS ='一般' and POSITIONTYPE not in ('辅导员','教学科研型'))c,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')) d
) t order by tj1 asc
</select>
<!-- 教师对教学能力各方面的评价雷达图-->
@ -367,7 +367,7 @@
format(sum(SKILL_CTRL2)/count('x'),2) as tj3,
format(sum(SKILL_ASSESS2)/count('x'),2) as tj4,
format(sum(SKILL_TECH2)/count('x'),2) as tj5
from bl_teacher_answer where main_id = #{id}
from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
</select>
<!-- 不同岗位类型教师对教学能力的评价-->
<select id="getSelectBtgwlxjsdjxnlpj" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
@ -399,39 +399,39 @@
<!-- 不同职称教师对教学能力的评价-->
<select id="getSelectBtzcjsdjxnlpj" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
SELECT '教学认知能力' as lsname,
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(SKILL_KNOW2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '正高级' GROUP BY POSITION) END) AS tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(SKILL_KNOW2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '副高级' GROUP BY POSITION) END) AS tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(SKILL_KNOW2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '中级' GROUP BY POSITION) END) AS tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(SKILL_KNOW2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '初级' GROUP BY POSITION) END) AS tj4
FROM bl_teacher_answer where main_id = #{id}
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(SKILL_KNOW2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '正高级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(SKILL_KNOW2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '副高级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(SKILL_KNOW2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '中级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(SKILL_KNOW2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '初级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj4
FROM bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
SELECT '教学设计能力' as lsname,
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(SKILL_DESIGN2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '正高级' GROUP BY POSITION) END) AS tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(SKILL_DESIGN2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '副高级' GROUP BY POSITION) END) AS tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(SKILL_DESIGN2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '中级' GROUP BY POSITION) END) AS tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(SKILL_DESIGN2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '初级' GROUP BY POSITION) END) AS tj4
FROM bl_teacher_answer where main_id = #{id}
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(SKILL_DESIGN2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '正高级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(SKILL_DESIGN2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '副高级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(SKILL_DESIGN2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '中级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(SKILL_DESIGN2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '初级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj4
FROM bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
SELECT '教学调控能力' as lsname,
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(SKILL_CTRL2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '正高级' GROUP BY POSITION) END) AS tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(SKILL_CTRL2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '副高级' GROUP BY POSITION) END) AS tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(SKILL_CTRL2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '中级' GROUP BY POSITION) END) AS tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(SKILL_CTRL2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '初级' GROUP BY POSITION) END) AS tj4
FROM bl_teacher_answer where main_id = #{id}
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(SKILL_CTRL2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '正高级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(SKILL_CTRL2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '副高级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(SKILL_CTRL2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '中级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(SKILL_CTRL2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '初级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj4
FROM bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
SELECT '教学评价能力' as lsname,
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(SKILL_ASSESS2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '正高级' GROUP BY POSITION) END) AS tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(SKILL_ASSESS2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '副高级' GROUP BY POSITION) END) AS tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(SKILL_ASSESS2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '中级' GROUP BY POSITION) END) AS tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(SKILL_ASSESS2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '初级' GROUP BY POSITION) END) AS tj4
FROM bl_teacher_answer where main_id = #{id}
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(SKILL_ASSESS2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '正高级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(SKILL_ASSESS2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '副高级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(SKILL_ASSESS2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '中级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(SKILL_ASSESS2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '初级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj4
FROM bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
SELECT '运用媒介能力' as lsname,
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(SKILL_TECH2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '正高级' GROUP BY POSITION) END) AS tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(SKILL_TECH2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '副高级' GROUP BY POSITION) END) AS tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(SKILL_TECH2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '中级' GROUP BY POSITION) END) AS tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(SKILL_TECH2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '初级' GROUP BY POSITION) END) AS tj4
FROM bl_teacher_answer where main_id = #{id}
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(SKILL_TECH2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '正高级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(SKILL_TECH2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '副高级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(SKILL_TECH2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '中级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(SKILL_TECH2)/count('x'),2) from bl_teacher_answer where main_id = #{id} and POSITION = '初级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj4
FROM bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
</select>
<!-- 各学院教师对教学能力的评价-->
<select id="getSelectGxyjsdjxnlpj" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
@ -448,23 +448,23 @@
select format(round(sum(SPEND_PREPARE)/count('x'),2),0) as tj1,
format(round(sum(SPEND_TEACH)/count('x'),2),0) as tj2,
format(round(sum(SPEND_COACH)/count('x'),2),0) as tj3
from bl_teacher_answer where main_id = #{id}
from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
</select>
<!-- 教师各项工作的平均时间投入-->
<select id="getSelectJxsjtrTjt" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select * from (
select '科研工作' as lsname,format(round(sum(SPEND_RESEARCH)/count('x'),2),0) as tj1 from bl_teacher_answer where main_id = #{id}
select '科研工作' as lsname,format(round(sum(SPEND_RESEARCH)/count('x'),2),0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union all
select '教学准备(包括批阅学生作业和评分)' as lsname,format(round(sum(SPEND_PREPARE)/count('x'),2),0) as tj1 from bl_teacher_answer where main_id = #{id}
select '教学准备(包括批阅学生作业和评分)' as lsname,format(round(sum(SPEND_PREPARE)/count('x'),2),0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union all
select '教学任务' as lsname,format(round(sum(SPEND_TEACH)/count('x'),2),0) as tj1 from bl_teacher_answer where main_id = #{id}
select '教学任务' as lsname,format(round(sum(SPEND_TEACH)/count('x'),2),0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union all
select '给学生答疑和辅导' as lsname,format(round(sum(SPEND_COACH)/count('x'),2),0) as tj1 from bl_teacher_answer where main_id = #{id}
select '给学生答疑和辅导' as lsname,format(round(sum(SPEND_COACH)/count('x'),2),0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union all
select '院系/部门工作和会议及其他行政工作' as lsname,format(round(sum(SPEND_MEETING)/count('x'),2),0) as tj1 from bl_teacher_answer where main_id = #{id}
select '院系/部门工作和会议及其他行政工作' as lsname,format(round(sum(SPEND_MEETING)/count('x'),2),0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union all
select '兼职及其他社会服务工作' as lsname,format(round(sum(SPEND_PARTTIME)/count('x'),2),0) as tj1 from bl_teacher_answer where main_id = #{id}
) t order by tj1 asc
select '兼职及其他社会服务工作' as lsname,format(round(sum(SPEND_PARTTIME)/count('x'),2),0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
) t order by tj1-0 asc
</select>
<!-- 不同岗位类型教师在各项工作上的平均时间投入-->
@ -477,7 +477,7 @@
format(round(sum(SPEND_MEETING)/count('x'),2),0) as tj5,
format(round(sum(SPEND_PARTTIME)/count('x'),2),0) as tj6
from bl_teacher_answer
where main_id = #{id} and POSITIONTYPE = '教学科研型'
where main_id = #{id} and POSITIONTYPE = '教学科研型' and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
select '教学型' as lsname,
format(round(sum(SPEND_RESEARCH)/count('x'),2),0) as tj1,
@ -487,7 +487,7 @@
format(round(sum(SPEND_MEETING)/count('x'),2),0) as tj5,
format(round(sum(SPEND_PARTTIME)/count('x'),2),0) as tj6
from bl_teacher_answer
where main_id = #{id} and POSITIONTYPE = '教学型'
where main_id = #{id} and POSITIONTYPE = '教学型' and POSITIONTYPE not in ('辅导员','教学科研型')
</select>
<!-- 不同职称教师在各项工作上的平均时间投入-->
<select id="getSelectBtzcjspjtrscTjt" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
@ -499,7 +499,7 @@
format(round(sum(SPEND_MEETING)/count('x'),2),0) as tj5,
format(round(sum(SPEND_PARTTIME)/count('x'),2),0) as tj6
from bl_teacher_answer where main_id = #{id}
and POSITION = '正高级'
and POSITION = '正高级' and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
select '副高级' as lsname,
format(round(sum(SPEND_RESEARCH)/count('x'),2),0) as tj1,
@ -509,7 +509,7 @@
format(round(sum(SPEND_MEETING)/count('x'),2),0) as tj5,
format(round(sum(SPEND_PARTTIME)/count('x'),2),0) as tj6
from bl_teacher_answer where main_id = #{id}
and POSITION = '副高级'
and POSITION = '副高级' and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
select '中级' as lsname,
format(round(sum(SPEND_RESEARCH)/count('x'),2),0) as tj1,
@ -519,7 +519,7 @@
format(round(sum(SPEND_MEETING)/count('x'),2),0) as tj5,
format(round(sum(SPEND_PARTTIME)/count('x'),2),0) as tj6
from bl_teacher_answer where main_id = #{id}
and POSITION = '中级'
and POSITION = '中级' and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
select '初级' as lsname,
format(round(sum(SPEND_RESEARCH)/count('x'),2),0) as tj1,
@ -529,7 +529,7 @@
format(round(sum(SPEND_MEETING)/count('x'),2),0) as tj5,
format(round(sum(SPEND_PARTTIME)/count('x'),2),0) as tj6
from bl_teacher_answer where main_id = #{id}
and POSITION = '初级'
and POSITION = '初级' and POSITIONTYPE not in ('辅导员','教学科研型')
</select>
<!-- 各学院教师在各项工作上的平均时间投入-->
<select id="getSelectGxyjspjsjtr" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
@ -557,20 +557,26 @@
concat(format(round(sum(JSKC_GNJ)/count('x'),2)*100,0),'%') as tj2,
concat(format(round(sum(JSKC_ZYXXK)/count('x'),2)*100,0),'%') as tj3,
concat(format(round(sum(JSKC_GGTS)/count('x'),2)*100,0),'%') as tj4
from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学科研型'
from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
-- and POSITIONTYPE = '教学科研型'
</select>
<!-- 教师在各类教学任务分配比例-->
<select id="getSelectJszgljxrwfpbl" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select * from (
select '低年级本科专业必修课' as lsname,format(round(sum(JSKC_DNJ)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学科研型'
select '低年级本科专业必修课' as lsname,format(round(sum(JSKC_DNJ)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
-- and POSITIONTYPE = '教学科研型'
union all
select '专业选修课' as lsname,format(round(sum(JSKC_ZYXXK)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学科研型'
select '专业选修课' as lsname,format(round(sum(JSKC_ZYXXK)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
-- and POSITIONTYPE = '教学科研型'
union all
select '研究生课程' as lsname,format(round(sum(JSKC_YJS)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学科研型'
select '研究生课程' as lsname,format(round(sum(JSKC_YJS)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
-- and POSITIONTYPE = '教学科研型'
union all
select '高年级本科专业必修课' as lsname,format(round(sum(JSKC_GNJ)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学科研型'
select '高年级本科专业必修课' as lsname,format(round(sum(JSKC_GNJ)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
-- and POSITIONTYPE = '教学科研型'
union all
select '公共通识课程' as lsname,format(round(sum(JSKC_GGTS)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学科研型'
select '公共通识课程' as lsname,format(round(sum(JSKC_GGTS)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
-- and POSITIONTYPE = '教学科研型'
) t order by tj1 asc
</select>
<!-- 不同岗位类型教师在各项工作上的平均时间投入-->
@ -602,7 +608,7 @@
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 POSITION = '正高级'
where main_id = #{id} and POSITION = '正高级' and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
select '副高级' as lsname,
format(round(sum(JSKC_YJS)/count('x'),2)*100,0) as tj1,
@ -611,7 +617,7 @@
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 POSITION = '副高级'
where main_id = #{id} and POSITION = '副高级' and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
select '中级' as lsname,
format(round(sum(JSKC_YJS)/count('x'),2)*100,0) as tj1,
@ -620,7 +626,7 @@
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 POSITION = '中级'
where main_id = #{id} and POSITION = '中级' and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
select '初级' as lsname,
format(round(sum(JSKC_YJS)/count('x'),2)*100,0) as tj1,
@ -629,7 +635,7 @@
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 POSITION = '初级'
where main_id = #{id} and POSITION = '初级' and POSITIONTYPE not in ('辅导员','教学科研型')
</select>
<!-- 各学院教师在各类教学任务上的占比-->
@ -649,20 +655,20 @@
concat(format(round(sum(RRFS_DISCUSS)/count('x'),2)*100,0),'%') as tj2,
concat(format(round(sum(RRFS_WORK)/count('x'),2)*100,0),'%') as tj3,
concat(format(round(sum(RRFS_INTERN)/count('x'),2)*100,0),'%') as tj4
from bl_teacher_answer where main_id = #{id}
from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
</select>
<!-- 课程教学融入思政元素的方式-->
<select id="getSelectKcjxrrszysTjt" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select * from (
select '以讲授为主融入课程内容' as lsname,format(round(sum(RRFS_COURSE)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id}
select '以讲授为主融入课程内容' as lsname,format(round(sum(RRFS_COURSE)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union all
select '在学生参与讨论、展示等课堂互动环节中融入' as lsname,format(round(sum(RRFS_DISCUSS)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id}
select '在学生参与讨论、展示等课堂互动环节中融入' as lsname,format(round(sum(RRFS_DISCUSS)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union all
select '融入课堂作业、论文中' as lsname,format(round(sum(RRFS_WORK)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id}
select '融入课堂作业、论文中' as lsname,format(round(sum(RRFS_WORK)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union all
select '融入实验、实训中' as lsname,format(round(sum(RRFS_INTERN)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id}
select '融入实验、实训中' as lsname,format(round(sum(RRFS_INTERN)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union all
select '并未涉及题目所述内容' as lsname,format(round(sum(RRFS_NO)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id}
select '并未涉及题目所述内容' as lsname,format(round(sum(RRFS_NO)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
) t order by tj1 asc
</select>
<!-- 不同岗位类型教师课程教学融入思政元素的方式-->
@ -694,7 +700,7 @@
format(round(sum(RRFS_INTERN)/count('x'),2)*100,0) as tj4,
format(round(sum(RRFS_NO)/count('x'),2)*100,0) as tj5
from bl_teacher_answer
where main_id = #{id} and POSITION = '正高级'
where main_id = #{id} and POSITION = '正高级' and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
select '副高级' as lsname,
format(round(sum(RRFS_COURSE)/count('x'),2)*100,0) as tj1,
@ -703,7 +709,7 @@
format(round(sum(RRFS_INTERN)/count('x'),2)*100,0) as tj4,
format(round(sum(RRFS_NO)/count('x'),2)*100,0) as tj5
from bl_teacher_answer
where main_id = #{id} and POSITION = '副高级'
where main_id = #{id} and POSITION = '副高级' and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
select '中级' as lsname,
format(round(sum(RRFS_COURSE)/count('x'),2)*100,0) as tj1,
@ -712,7 +718,7 @@
format(round(sum(RRFS_INTERN)/count('x'),2)*100,0) as tj4,
format(round(sum(RRFS_NO)/count('x'),2)*100,0) as tj5
from bl_teacher_answer
where main_id = #{id} and POSITION = '中级'
where main_id = #{id} and POSITION = '中级' and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
select '初级' as lsname,
format(round(sum(RRFS_COURSE)/count('x'),2)*100,0) as tj1,
@ -721,7 +727,7 @@
format(round(sum(RRFS_INTERN)/count('x'),2)*100,0) as tj4,
format(round(sum(RRFS_NO)/count('x'),2)*100,0) as tj5
from bl_teacher_answer
where main_id = #{id} and POSITION = '初级'
where main_id = #{id} and POSITION = '初级' and POSITIONTYPE not in ('辅导员','教学科研型')
</select>
<!-- 各学院教师课程教学融入思政元素的方式-->
<select id="getSelectGxyjskcjxrrszys" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
@ -826,7 +832,7 @@
format(sum(ZYK_NEW2)/count('x'),2) as tj4,
format(sum(ZYK_INTERN2)/count('x'),2) as tj5,
format(sum(ZYK_EFFORT2)/count('x'),2) as tj6
from bl_teacher_answer where main_id = #{id}
from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
</select>
<!-- 不同岗位类型教师在课程“两性一度”的实施情况-->
<select id="getSelectkclxydbtgwlx" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
@ -876,45 +882,45 @@
<!-- 不同职称教师在课程“两性一度”的实施情况-->
<select id="getSelectkclxydbtzc" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
SELECT '高阶性' as lsname2,'课程将知识、能力、素养进行了有机融合' as lsname,
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(ZYK_SKILL2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' GROUP BY POSITION) END) as tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(ZYK_SKILL2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' GROUP BY POSITION) END) as tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(ZYK_SKILL2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' GROUP BY POSITION) END) as tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(ZYK_SKILL2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' GROUP BY POSITION) END) as tj4
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(ZYK_SKILL2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(ZYK_SKILL2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(ZYK_SKILL2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(ZYK_SKILL2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj4
FROM bl_teacher_answer where main_id = #{id}
union ALL
SELECT '高阶性' as lsname2,'课程教学培养了学生解决复杂问题的综合能力' as lsname,
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(ZYK_PROBLEM2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' GROUP BY POSITION) END) as tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(ZYK_PROBLEM2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' GROUP BY POSITION) END) as tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(ZYK_PROBLEM2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' GROUP BY POSITION) END) as tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(ZYK_PROBLEM2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' GROUP BY POSITION) END) as tj4
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(ZYK_PROBLEM2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(ZYK_PROBLEM2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(ZYK_PROBLEM2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(ZYK_PROBLEM2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj4
FROM bl_teacher_answer where main_id = #{id}
union ALL
SELECT '创新性' as lsname2,'课程内容注重学科间的交叉与融合' as lsname,
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(ZYK_CROSS2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' GROUP BY POSITION) END) as tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(ZYK_CROSS2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' GROUP BY POSITION) END) as tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(ZYK_CROSS2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' GROUP BY POSITION) END) as tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(ZYK_CROSS2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' GROUP BY POSITION) END) as tj4
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(ZYK_CROSS2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(ZYK_CROSS2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(ZYK_CROSS2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(ZYK_CROSS2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj4
FROM bl_teacher_answer where main_id = #{id}
union ALL
SELECT '创新性' as lsname2,'课程内容反映了学科发展的前沿内容' as lsname,
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(ZYK_NEW2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' GROUP BY POSITION) END) as tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(ZYK_NEW2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' GROUP BY POSITION) END) as tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(ZYK_NEW2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' GROUP BY POSITION) END) as tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(ZYK_NEW2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' GROUP BY POSITION) END) as tj4
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(ZYK_NEW2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(ZYK_NEW2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(ZYK_NEW2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(ZYK_NEW2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj4
FROM bl_teacher_answer where main_id = #{id}
union ALL
SELECT '创新性' as lsname2,'课程教学内容重视实践与理论的结合' as lsname,
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(ZYK_INTERN2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' GROUP BY POSITION) END) as tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(ZYK_INTERN2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' GROUP BY POSITION) END) as tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(ZYK_INTERN2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' GROUP BY POSITION) END) as tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(ZYK_INTERN2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' GROUP BY POSITION) END) as tj4
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(ZYK_INTERN2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(ZYK_INTERN2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(ZYK_INTERN2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(ZYK_INTERN2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj4
FROM bl_teacher_answer where main_id = #{id}
union ALL
SELECT '挑战度' as lsname2,'学生需要非常努力才能达到课程要求' as lsname,
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(ZYK_EFFORT2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' GROUP BY POSITION) END) as tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(ZYK_EFFORT2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' GROUP BY POSITION) END) as tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(ZYK_EFFORT2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' GROUP BY POSITION) END) as tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(ZYK_EFFORT2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' GROUP BY POSITION) END) as tj4
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(ZYK_EFFORT2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(ZYK_EFFORT2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(ZYK_EFFORT2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(ZYK_EFFORT2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj4
FROM bl_teacher_answer where main_id = #{id}
</select>
@ -937,21 +943,21 @@
concat(format(round(sum(LINIAN_PYFA)/count('x'),2)*100,0),'%') as tj3,
concat(format(round(sum(LINIAN_BYYQ)/count('x'),2)*100,0),'%') as tj4,
concat(format(round(sum(LINIAN_ZJGJ)/count('x'),2)*100,0),'%') as tj5
from bl_teacher_answer where main_id = #{id}
from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
</select>
<!-- 教师评价“成果导向”理念的落实情况-->
<select id="getSelectcgdxTjt1" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select * from (
select '我会根据学生学习效果,及时反思总结,改进我的教学' as lsname,format(round(sum(LINIAN_ZJGJ)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id}
select '我会根据学生学习效果,及时反思总结,改进我的教学' as lsname,format(round(sum(LINIAN_ZJGJ)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union all
select '我明确任教课程对整体人才培养目标的关联与责任' as lsname,format(round(sum(LINIAN_PYMB)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id}
select '我明确任教课程对整体人才培养目标的关联与责任' as lsname,format(round(sum(LINIAN_PYMB)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union all
select '我很了解人才培养方案的主要内容' as lsname,format(round(sum(LINIAN_PYFA)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id}
select '我很了解人才培养方案的主要内容' as lsname,format(round(sum(LINIAN_PYFA)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union all
select '我将“学生中心”理念全面落实在自己的各个教育教学工作中' as lsname,format(round(sum(LINIAN_XSZX)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id}
select '我将“学生中心”理念全面落实在自己的各个教育教学工作中' as lsname,format(round(sum(LINIAN_XSZX)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union all
select '我会对应学生的毕业要求制定课程目标' as lsname,format(round(sum(LINIAN_BYYQ)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id}
select '我会对应学生的毕业要求制定课程目标' as lsname,format(round(sum(LINIAN_BYYQ)/count('x'),2)*100,0) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
) t order by tj1 asc
</select>
@ -985,7 +991,7 @@
format(round(sum(LINIAN_XSZX)/count('x'),2)*100,0) as tj4,
format(round(sum(LINIAN_BYYQ)/count('x'),2)*100,0) as tj5
from bl_teacher_answer
where POSITION = '正高级' and main_id = #{id}
where POSITION = '正高级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
select '副高级' as lsname,
format(round(sum(LINIAN_PYMB)/count('x'),2)*100,0) as tj1,
@ -994,7 +1000,7 @@
format(round(sum(LINIAN_XSZX)/count('x'),2)*100,0) as tj4,
format(round(sum(LINIAN_BYYQ)/count('x'),2)*100,0) as tj5
from bl_teacher_answer
where POSITION = '副高级' and main_id = #{id}
where POSITION = '副高级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
select '中级' as lsname,
format(round(sum(LINIAN_PYMB)/count('x'),2)*100,0) as tj1,
@ -1003,7 +1009,7 @@
format(round(sum(LINIAN_XSZX)/count('x'),2)*100,0) as tj4,
format(round(sum(LINIAN_BYYQ)/count('x'),2)*100,0) as tj5
from bl_teacher_answer
where POSITION = '中级' and main_id = #{id}
where POSITION = '中级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
select '初级' as lsname,
format(round(sum(LINIAN_PYMB)/count('x'),2)*100,0) as tj1,
@ -1012,7 +1018,7 @@
format(round(sum(LINIAN_XSZX)/count('x'),2)*100,0) as tj4,
format(round(sum(LINIAN_BYYQ)/count('x'),2)*100,0) as tj5
from bl_teacher_answer
where POSITION = '初级' and main_id = #{id}
where POSITION = '初级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
</select>
<!-- 各学院教师评价“成果导向”理念的落实情况-->
@ -1158,12 +1164,12 @@
format(round(c.yb_cnt/f.tot_cnt,2)*100,0) as tj3,
format(round(d.bjb_cnt/f.tot_cnt,2)*100,0) as tj4,
format(round(e.fcb_cnt/f.tot_cnt,2)*100,0) as tj5 from
(select count('x') as fc_cnt from bl_teacher_answer where PRE_CLASS_PREVIEW ='非常符合' and main_id = #{id} )a,
(select count('x') as bj_cnt from bl_teacher_answer where PRE_CLASS_PREVIEW ='比较符合' and main_id = #{id} )b,
(select count('x') as yb_cnt from bl_teacher_answer where PRE_CLASS_PREVIEW ='一般' and main_id = #{id} )c,
(select count('x') as bjb_cnt from bl_teacher_answer where PRE_CLASS_PREVIEW ='比较不符合' and main_id = #{id} )d,
(select count('x') as fcb_cnt from bl_teacher_answer where PRE_CLASS_PREVIEW ='非常不符合' and main_id = #{id} )e,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id}) f
(select count('x') as fc_cnt from bl_teacher_answer where PRE_CLASS_PREVIEW ='非常符合' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') )a,
(select count('x') as bj_cnt from bl_teacher_answer where PRE_CLASS_PREVIEW ='比较符合' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') )b,
(select count('x') as yb_cnt from bl_teacher_answer where PRE_CLASS_PREVIEW ='一般' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') )c,
(select count('x') as bjb_cnt from bl_teacher_answer where PRE_CLASS_PREVIEW ='比较不符合' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') )d,
(select count('x') as fcb_cnt from bl_teacher_answer where PRE_CLASS_PREVIEW ='非常不符合' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') )e,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')) f
union all
select '课堂上能跟上老师的讲解,主动提问或参与讨论,每节课学有所获' as lsname,
format(round(a.fc_cnt/f.tot_cnt,2)*100,0) as tj1,
@ -1171,12 +1177,12 @@
format(round(c.yb_cnt/f.tot_cnt,2)*100,0) as tj3,
format(round(d.bjb_cnt/f.tot_cnt,2)*100,0) as tj4,
format(round(e.fcb_cnt/f.tot_cnt,2)*100,0) as tj5 from
(select count('x') as fc_cnt from bl_teacher_answer where IN_CLASS_QUESTIONS ='非常符合' and main_id = #{id} )a,
(select count('x') as bj_cnt from bl_teacher_answer where IN_CLASS_QUESTIONS ='比较符合' and main_id = #{id} )b,
(select count('x') as yb_cnt from bl_teacher_answer where IN_CLASS_QUESTIONS ='一般' and main_id = #{id} )c,
(select count('x') as bjb_cnt from bl_teacher_answer where IN_CLASS_QUESTIONS ='比较不符合' and main_id = #{id} )d,
(select count('x') as fcb_cnt from bl_teacher_answer where IN_CLASS_QUESTIONS ='非常不符合' and main_id = #{id} )e,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id}) f
(select count('x') as fc_cnt from bl_teacher_answer where IN_CLASS_QUESTIONS ='非常符合' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') )a,
(select count('x') as bj_cnt from bl_teacher_answer where IN_CLASS_QUESTIONS ='比较符合' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') )b,
(select count('x') as yb_cnt from bl_teacher_answer where IN_CLASS_QUESTIONS ='一般' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') )c,
(select count('x') as bjb_cnt from bl_teacher_answer where IN_CLASS_QUESTIONS ='比较不符合' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') )d,
(select count('x') as fcb_cnt from bl_teacher_answer where IN_CLASS_QUESTIONS ='非常不符合' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') )e,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')) f
union all
select '课后复习笔记及总结课堂教学相关知识' as lsname,
format(round(a.fc_cnt/f.tot_cnt,2)*100,0) as tj1,
@ -1184,12 +1190,12 @@
format(round(c.yb_cnt/f.tot_cnt,2)*100,0) as tj3,
format(round(d.bjb_cnt/f.tot_cnt,2)*100,0) as tj4,
format(round(e.fcb_cnt/f.tot_cnt,2)*100,0) as tj5 from
(select count('x') as fc_cnt from bl_teacher_answer where AFTER_CLASS_SUMMARY ='非常符合' and main_id = #{id} )a,
(select count('x') as bj_cnt from bl_teacher_answer where AFTER_CLASS_SUMMARY ='比较符合' and main_id = #{id} )b,
(select count('x') as yb_cnt from bl_teacher_answer where AFTER_CLASS_SUMMARY ='一般' and main_id = #{id} )c,
(select count('x') as bjb_cnt from bl_teacher_answer where AFTER_CLASS_SUMMARY ='比较不符合' and main_id = #{id} )d,
(select count('x') as fcb_cnt from bl_teacher_answer where AFTER_CLASS_SUMMARY ='非常不符合' and main_id = #{id} )e,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id}) f
(select count('x') as fc_cnt from bl_teacher_answer where AFTER_CLASS_SUMMARY ='非常符合' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') )a,
(select count('x') as bj_cnt from bl_teacher_answer where AFTER_CLASS_SUMMARY ='比较符合' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') )b,
(select count('x') as yb_cnt from bl_teacher_answer where AFTER_CLASS_SUMMARY ='一般' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') )c,
(select count('x') as bjb_cnt from bl_teacher_answer where AFTER_CLASS_SUMMARY ='比较不符合' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') )d,
(select count('x') as fcb_cnt from bl_teacher_answer where AFTER_CLASS_SUMMARY ='非常不符合' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') )e,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')) f
union all
select '除了阅读教材,还延伸阅读教师推荐的其他相关书目' as lsname,
format(round(a.fc_cnt/f.tot_cnt,2)*100,0) as tj1,
@ -1197,12 +1203,12 @@
format(round(c.yb_cnt/f.tot_cnt,2)*100,0) as tj3,
format(round(d.bjb_cnt/f.tot_cnt,2)*100,0) as tj4,
format(round(e.fcb_cnt/f.tot_cnt,2)*100,0) as tj5 from
(select count('x') as fc_cnt from bl_teacher_answer where AFTER_CLASS_READ ='非常符合' and main_id = #{id} )a,
(select count('x') as bj_cnt from bl_teacher_answer where AFTER_CLASS_READ ='比较符合' and main_id = #{id} )b,
(select count('x') as yb_cnt from bl_teacher_answer where AFTER_CLASS_READ ='一般' and main_id = #{id} )c,
(select count('x') as bjb_cnt from bl_teacher_answer where AFTER_CLASS_READ ='比较不符合' and main_id = #{id} )d,
(select count('x') as fcb_cnt from bl_teacher_answer where AFTER_CLASS_READ ='非常不符合' and main_id = #{id} )e,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id}) f
(select count('x') as fc_cnt from bl_teacher_answer where AFTER_CLASS_READ ='非常符合' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') )a,
(select count('x') as bj_cnt from bl_teacher_answer where AFTER_CLASS_READ ='比较符合' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') )b,
(select count('x') as yb_cnt from bl_teacher_answer where AFTER_CLASS_READ ='一般' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') )c,
(select count('x') as bjb_cnt from bl_teacher_answer where AFTER_CLASS_READ ='比较不符合' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') )d,
(select count('x') as fcb_cnt from bl_teacher_answer where AFTER_CLASS_READ ='非常不符合' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') )e,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')) f
) t order by tj1 asc
</select>
@ -1213,7 +1219,7 @@
format(sum(IN_CLASS_QUESTIONS2)/count('x'),2) as tj2,
format(sum(AFTER_CLASS_SUMMARY2)/count('x'),2) as tj3,
format(sum(AFTER_CLASS_READ2)/count('x'),2) as tj4
from bl_teacher_answer where main_id = #{id}
from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
</select>
<!-- 不同岗位类型教师评价学生学习主动性-->
@ -1250,32 +1256,32 @@
<!-- 不同职称教师评价学生学习主动性-->
<select id="getSelectsshd6" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
SELECT '课前运用网络课程平台、教材或资料进行自主预学,梳理知识并发现问题' as lsname,
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(PRE_CLASS_PREVIEW2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and main_id = #{id} GROUP BY POSITION) END) as tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(PRE_CLASS_PREVIEW2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and main_id = #{id} GROUP BY POSITION) END) as tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(PRE_CLASS_PREVIEW2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and main_id = #{id} GROUP BY POSITION) END) as tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(PRE_CLASS_PREVIEW2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and main_id = #{id} GROUP BY POSITION) END) as tj4
FROM bl_teacher_answer where main_id = #{id}
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(PRE_CLASS_PREVIEW2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(PRE_CLASS_PREVIEW2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(PRE_CLASS_PREVIEW2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(PRE_CLASS_PREVIEW2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj4
FROM bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
SELECT '课堂上能跟上老师的讲解,主动提问或参与讨论,每节课学有所获' as lsname,
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(IN_CLASS_QUESTIONS2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and main_id = #{id} GROUP BY POSITION) END) as tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(IN_CLASS_QUESTIONS2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and main_id = #{id} GROUP BY POSITION) END) as tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(IN_CLASS_QUESTIONS2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and main_id = #{id} GROUP BY POSITION) END) as tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(IN_CLASS_QUESTIONS2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and main_id = #{id} GROUP BY POSITION) END) as tj4
FROM bl_teacher_answer where main_id = #{id}
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(IN_CLASS_QUESTIONS2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(IN_CLASS_QUESTIONS2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(IN_CLASS_QUESTIONS2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(IN_CLASS_QUESTIONS2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj4
FROM bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
SELECT '课后复习笔记及总结课堂教学相关知识' as lsname,
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(AFTER_CLASS_SUMMARY2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and main_id = #{id} GROUP BY POSITION) END) as tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(AFTER_CLASS_SUMMARY2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and main_id = #{id} GROUP BY POSITION) END) as tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(AFTER_CLASS_SUMMARY2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and main_id = #{id} GROUP BY POSITION) END) as tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(AFTER_CLASS_SUMMARY2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and main_id = #{id} GROUP BY POSITION) END) as tj4
FROM bl_teacher_answer where main_id = #{id}
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(AFTER_CLASS_SUMMARY2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(AFTER_CLASS_SUMMARY2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(AFTER_CLASS_SUMMARY2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(AFTER_CLASS_SUMMARY2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj4
FROM bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
SELECT '除了阅读教材,还延伸阅读教师推荐的其他相关书目' as lsname,
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(AFTER_CLASS_READ2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and main_id = #{id} GROUP BY POSITION) END) as tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(AFTER_CLASS_READ2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and main_id = #{id} GROUP BY POSITION) END) as tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(AFTER_CLASS_READ2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and main_id = #{id} GROUP BY POSITION) END) as tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(AFTER_CLASS_READ2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and main_id = #{id} GROUP BY POSITION) END) as tj4
FROM bl_teacher_answer where main_id = #{id}
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(AFTER_CLASS_READ2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(AFTER_CLASS_READ2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(AFTER_CLASS_READ2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(AFTER_CLASS_READ2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) as tj4
FROM bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
</select>
@ -1687,46 +1693,46 @@
<!-- 不同职称教师对本校教学评价各方面工作的评价 -->
<select id="getSelectjxpjgz4" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
SELECT '教学评价体现学生中心,突出产出导向' as lsname,
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(TEACHING_RESULT2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and main_id = #{id} GROUP BY POSITION) END) AS tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(TEACHING_RESULT2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and main_id = #{id} GROUP BY POSITION) END) AS tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(TEACHING_RESULT2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and main_id = #{id} GROUP BY POSITION) END) AS tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(TEACHING_RESULT2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and main_id = #{id} GROUP BY POSITION) END) AS tj4
FROM bl_teacher_answer where main_id = #{id}
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(TEACHING_RESULT2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(TEACHING_RESULT2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(TEACHING_RESULT2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(TEACHING_RESULT2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj4
FROM bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
SELECT '评价指标科学、具体可测' as lsname,
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(TEACHING_INDEX2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and main_id = #{id} GROUP BY POSITION) END) AS tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(TEACHING_INDEX2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and main_id = #{id} GROUP BY POSITION) END) AS tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(TEACHING_INDEX2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and main_id = #{id} GROUP BY POSITION) END) AS tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(TEACHING_INDEX2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and main_id = #{id} GROUP BY POSITION) END) AS tj4
FROM bl_teacher_answer where main_id = #{id}
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(TEACHING_INDEX2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(TEACHING_INDEX2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(TEACHING_INDEX2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(TEACHING_INDEX2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj4
FROM bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
SELECT '教学评价针对性地改进了我的教学内容和方法' as lsname,
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(TEACHING_EFFECT2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and main_id = #{id} GROUP BY POSITION) END) AS tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(TEACHING_EFFECT2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and main_id = #{id} GROUP BY POSITION) END) AS tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(TEACHING_EFFECT2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and main_id = #{id} GROUP BY POSITION) END) AS tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(TEACHING_EFFECT2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and main_id = #{id} GROUP BY POSITION) END) AS tj4
FROM bl_teacher_answer where main_id = #{id}
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(TEACHING_EFFECT2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(TEACHING_EFFECT2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(TEACHING_EFFECT2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(TEACHING_EFFECT2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj4
FROM bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
SELECT '教学评价促进了学生学习效果的提升' as lsname,
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(TEACHING_STUDENT2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and main_id = #{id} GROUP BY POSITION) END) AS tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(TEACHING_STUDENT2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and main_id = #{id} GROUP BY POSITION) END) AS tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(TEACHING_STUDENT2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and main_id = #{id} GROUP BY POSITION) END) AS tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(TEACHING_STUDENT2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and main_id = #{id} GROUP BY POSITION) END) AS tj4
FROM bl_teacher_answer where main_id = #{id}
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(TEACHING_STUDENT2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(TEACHING_STUDENT2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(TEACHING_STUDENT2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(TEACHING_STUDENT2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj4
FROM bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
SELECT '教学督导员的督导对我的教学工作帮助很大' as lsname,
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(TEACHING_SUPERVISE2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and main_id = #{id} GROUP BY POSITION) END) AS tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(TEACHING_SUPERVISE2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and main_id = #{id} GROUP BY POSITION) END) AS tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(TEACHING_SUPERVISE2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and main_id = #{id} GROUP BY POSITION) END) AS tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(TEACHING_SUPERVISE2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and main_id = #{id} GROUP BY POSITION) END) AS tj4
FROM bl_teacher_answer where main_id = #{id}
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(TEACHING_SUPERVISE2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(TEACHING_SUPERVISE2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(TEACHING_SUPERVISE2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(TEACHING_SUPERVISE2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj4
FROM bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
union ALL
SELECT '学校教学激励制度完善,并促进了教师的教学积极性' as lsname,
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(TEACHING_AWARDS2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and main_id = #{id} GROUP BY POSITION) END) AS tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(TEACHING_AWARDS2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and main_id = #{id} GROUP BY POSITION) END) AS tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(TEACHING_AWARDS2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and main_id = #{id} GROUP BY POSITION) END) AS tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(TEACHING_AWARDS2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and main_id = #{id} GROUP BY POSITION) END) AS tj4
FROM bl_teacher_answer where main_id = #{id}
max(CASE POSITION = '正高级' WHEN '正高级' THEN (select format(sum(TEACHING_AWARDS2)/count('x'),2) from bl_teacher_answer where POSITION = '正高级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj1,
max(CASE POSITION = '副高级' WHEN '副高级' THEN (select format(sum(TEACHING_AWARDS2)/count('x'),2) from bl_teacher_answer where POSITION = '副高级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj2,
max(CASE POSITION = '中级' WHEN '中级' THEN (select format(sum(TEACHING_AWARDS2)/count('x'),2) from bl_teacher_answer where POSITION = '中级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj3,
max(CASE POSITION = '初级' WHEN '初级' THEN (select format(sum(TEACHING_AWARDS2)/count('x'),2) from bl_teacher_answer where POSITION = '初级' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型') GROUP BY POSITION) END) AS tj4
FROM bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
</select>
<!-- 各学院教师对本校教学评价各方面工作的评价 -->
<select id="getSelectjxpjgz5" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
@ -1744,44 +1750,44 @@
<select id="getSelectzytjpj1" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select * from (
select '图书馆资源' as lsname,format(round(a.fc_cnt/f.tot_cnt,2)*100,0) as tj1,format(round(b.bj_cnt/f.tot_cnt,2)*100,0) as tj2,format(round(c.yb_cnt/f.tot_cnt,2)*100,0) as tj3,format(round(d.bjb_cnt/f.tot_cnt,2)*100,0) as tj4,format(round(e.fcb_cnt/f.tot_cnt,2)*100,0) as tj5 from
(select count('x') as fc_cnt from bl_teacher_answer where SATI_LIBRARY ='非常满意' and main_id = #{id})a,
(select count('x') as bj_cnt from bl_teacher_answer where SATI_LIBRARY ='比较满意' and main_id = #{id})b,
(select count('x') as yb_cnt from bl_teacher_answer where SATI_LIBRARY ='一般' and main_id = #{id})c,
(select count('x') as bjb_cnt from bl_teacher_answer where SATI_LIBRARY ='比较不满意' and main_id = #{id})d,
(select count('x') as fcb_cnt from bl_teacher_answer where SATI_LIBRARY ='非常不符合' and main_id = #{id})e,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id}) f
(select count('x') as fc_cnt from bl_teacher_answer where SATI_LIBRARY ='非常满意' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))a,
(select count('x') as bj_cnt from bl_teacher_answer where SATI_LIBRARY ='比较满意' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))b,
(select count('x') as yb_cnt from bl_teacher_answer where SATI_LIBRARY ='一般' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))c,
(select count('x') as bjb_cnt from bl_teacher_answer where SATI_LIBRARY ='比较不满意' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))d,
(select count('x') as fcb_cnt from bl_teacher_answer where SATI_LIBRARY ='非常不符合' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))e,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')) f
union all
select '网络资源' as lsname,format(round(a.fc_cnt/f.tot_cnt,2)*100,0) as tj1,format(round(b.bj_cnt/f.tot_cnt,2)*100,0) as tj2,format(round(c.yb_cnt/f.tot_cnt,2)*100,0) as tj3,format(round(d.bjb_cnt/f.tot_cnt,2)*100,0) as tj4,format(round(e.fcb_cnt/f.tot_cnt,2)*100,0) as tj5 from
(select count('x') as fc_cnt from bl_teacher_answer where SATI_NET ='非常满意' and main_id = #{id})a,
(select count('x') as bj_cnt from bl_teacher_answer where SATI_NET ='比较满意' and main_id = #{id})b,
(select count('x') as yb_cnt from bl_teacher_answer where SATI_NET ='一般' and main_id = #{id})c,
(select count('x') as bjb_cnt from bl_teacher_answer where SATI_NET ='比较不满意' and main_id = #{id})d,
(select count('x') as fcb_cnt from bl_teacher_answer where SATI_NET ='非常不符合' and main_id = #{id})e,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id}) f
(select count('x') as fc_cnt from bl_teacher_answer where SATI_NET ='非常满意' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))a,
(select count('x') as bj_cnt from bl_teacher_answer where SATI_NET ='比较满意' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))b,
(select count('x') as yb_cnt from bl_teacher_answer where SATI_NET ='一般' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))c,
(select count('x') as bjb_cnt from bl_teacher_answer where SATI_NET ='比较不满意' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))d,
(select count('x') as fcb_cnt from bl_teacher_answer where SATI_NET ='非常不符合' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))e,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')) f
union all
select '体育文化等基础设施' as lsname,format(round(a.fc_cnt/f.tot_cnt,2)*100,0) as tj1,format(round(b.bj_cnt/f.tot_cnt,2)*100,0) as tj2,format(round(c.yb_cnt/f.tot_cnt,2)*100,0) as tj3,format(round(d.bjb_cnt/f.tot_cnt,2)*100,0) as tj4,format(round(e.fcb_cnt/f.tot_cnt,2)*100,0) as tj5 from
(select count('x') as fc_cnt from bl_teacher_answer where SATI_SPORT ='非常满意' and main_id = #{id})a,
(select count('x') as bj_cnt from bl_teacher_answer where SATI_SPORT ='比较满意' and main_id = #{id})b,
(select count('x') as yb_cnt from bl_teacher_answer where SATI_SPORT ='一般' and main_id = #{id})c,
(select count('x') as bjb_cnt from bl_teacher_answer where SATI_SPORT ='比较不满意' and main_id = #{id})d,
(select count('x') as fcb_cnt from bl_teacher_answer where SATI_SPORT ='非常不符合' and main_id = #{id})e,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id}) f
(select count('x') as fc_cnt from bl_teacher_answer where SATI_SPORT ='非常满意' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))a,
(select count('x') as bj_cnt from bl_teacher_answer where SATI_SPORT ='比较满意' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))b,
(select count('x') as yb_cnt from bl_teacher_answer where SATI_SPORT ='一般' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))c,
(select count('x') as bjb_cnt from bl_teacher_answer where SATI_SPORT ='比较不满意' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))d,
(select count('x') as fcb_cnt from bl_teacher_answer where SATI_SPORT ='非常不符合' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))e,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')) f
union all
select '教室及教学设备' as lsname,format(round(a.fc_cnt/f.tot_cnt,2)*100,0) as tj1,format(round(b.bj_cnt/f.tot_cnt,2)*100,0) as tj2,format(round(c.yb_cnt/f.tot_cnt,2)*100,0) as tj3,format(round(d.bjb_cnt/f.tot_cnt,2)*100,0) as tj4,format(round(e.fcb_cnt/f.tot_cnt,2)*100,0) as tj5 from
(select count('x') as fc_cnt from bl_teacher_answer where SATI_ROOM ='非常满意' and main_id = #{id})a,
(select count('x') as bj_cnt from bl_teacher_answer where SATI_ROOM ='比较满意' and main_id = #{id})b,
(select count('x') as yb_cnt from bl_teacher_answer where SATI_ROOM ='一般' and main_id = #{id})c,
(select count('x') as bjb_cnt from bl_teacher_answer where SATI_ROOM ='比较不满意' and main_id = #{id})d,
(select count('x') as fcb_cnt from bl_teacher_answer where SATI_ROOM ='非常不符合' and main_id = #{id})e,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id}) f
(select count('x') as fc_cnt from bl_teacher_answer where SATI_ROOM ='非常满意' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))a,
(select count('x') as bj_cnt from bl_teacher_answer where SATI_ROOM ='比较满意' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))b,
(select count('x') as yb_cnt from bl_teacher_answer where SATI_ROOM ='一般' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))c,
(select count('x') as bjb_cnt from bl_teacher_answer where SATI_ROOM ='比较不满意' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))d,
(select count('x') as fcb_cnt from bl_teacher_answer where SATI_ROOM ='非常不符合' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))e,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')) f
union all
select '实验室条件' as lsname,format(round(a.fc_cnt/f.tot_cnt,2)*100,0) as tj1,format(round(b.bj_cnt/f.tot_cnt,2)*100,0) as tj2,format(round(c.yb_cnt/f.tot_cnt,2)*100,0) as tj3,format(round(d.bjb_cnt/f.tot_cnt,2)*100,0) as tj4,format(round(e.fcb_cnt/f.tot_cnt,2)*100,0) as tj5 from
(select count('x') as fc_cnt from bl_teacher_answer where SATI_RESOURSE ='非常满意' and main_id = #{id})a,
(select count('x') as bj_cnt from bl_teacher_answer where SATI_RESOURSE ='比较满意' and main_id = #{id})b,
(select count('x') as yb_cnt from bl_teacher_answer where SATI_RESOURSE ='一般' and main_id = #{id})c,
(select count('x') as bjb_cnt from bl_teacher_answer where SATI_RESOURSE ='比较不满意' and main_id = #{id})d,
(select count('x') as fcb_cnt from bl_teacher_answer where SATI_RESOURSE ='非常不符合' and main_id = #{id})e,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id}) f
(select count('x') as fc_cnt from bl_teacher_answer where SATI_RESOURSE ='非常满意' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))a,
(select count('x') as bj_cnt from bl_teacher_answer where SATI_RESOURSE ='比较满意' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))b,
(select count('x') as yb_cnt from bl_teacher_answer where SATI_RESOURSE ='一般' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))c,
(select count('x') as bjb_cnt from bl_teacher_answer where SATI_RESOURSE ='比较不满意' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))d,
(select count('x') as fcb_cnt from bl_teacher_answer where SATI_RESOURSE ='非常不符合' and main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型'))e,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')) f
) t order by tj1 asc
</select>
@ -1940,7 +1946,7 @@
format(sum(TEACHING_STUDENT2)/count('x'),2) as tj4,
format(sum(TEACHING_SUPERVISE2)/count('x'),2) as tj5,
format(sum(TEACHING_AWARDS2)/count('x'),2) as tj6
from bl_teacher_answer where main_id = #{id}
from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','教学科研型')
</select>
<!-- 不同岗位类型教师对本校教学评价各方面工作的评价 -->
<select id="getSelectzytjpj32" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">

View File

@ -158,7 +158,7 @@ spring:
slow-sql-millis: 5000
datasource:
master:
url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
url: jdbc:mysql://127.0.0.1:3307/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: root
password: root
driver-class-name: com.mysql.cj.jdbc.Driver

View File

@ -160,7 +160,6 @@ function handleSuccess(xlsRes){
uploadButtonSpinning.value = false;
if(xlsRes.success){
current.value++;
console.log("参数--------》",{id:formData.id}, ...d)
defHttp.get({url:'/blStuAnswer/blStuAnswer/createWord',params:{id:formData.id}}).then(res=>{
console.log('---生成报告--->',res);
if(res.code==200||res=='生成成功'){

View File

@ -66,7 +66,8 @@
</a-col>
<span style="text-align: center;">
<a-spin :spinning="uploadButtonSpinning">
<j-upload-button type="primary" preIcon="ant-design:import-outlined" @click="onImportXlsPlus($event, { id: formData.id})">导入</j-upload-button>
<!-- <j-upload-button type="primary" preIcon="ant-design:import-outlined" @click="onImportXlsPlus($event, { id: formData.id})">导入</j-upload-button> -->
<j-upload-button type="primary" preIcon="ant-design:import-outlined" accept=".xls,.xlsx" :forceAcceptVerify="true" @uploadFn="onImportXlsPlus($event, { id: formData.id})">导入</j-upload-button>
</a-spin>
</span>
</div>
@ -152,11 +153,24 @@ const validatorRules = {
};
const { resetFields, validate, validateInfos } = useForm(formData, validatorRules, { immediate: false });
//
function handleSuccess(res){
// function handleSuccess(res){
// uploadButtonSpinning.value = false;
// if(xlsRes.success){
// current.value++;
// defHttp.get({url:'/blTeacherAnswer/blTeacherAnswer/createWord',params:{id:formData.id}}).then(res=>{
// console.log('------>',res);
// if(res.code==200||res==''){
// handleWancheng();
// }
// })
// }else {
// createMessage.error(xlsRes.message);
// }
// }
function handleSuccess(xlsRes){
uploadButtonSpinning.value = false;
if(xlsRes.success){
current.value++;
console.log("参数--------》",{id:formData.id}, ...d)
defHttp.get({url:'/blTeacherAnswer/blTeacherAnswer/createWord',params:{id:formData.id}}).then(res=>{
console.log('---生成报告--->',res);
if(res.code==200||res=='生成成功'){
@ -262,6 +276,7 @@ async function submitForm() {
}
function onImportXlsPlus(...d) {
console.log('?????');
uploadButtonSpinning.value = true;
onImportXls(...d);
}