From 2de4532757acf5ad291316ed3dd159351f32b189 Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Sat, 20 Jul 2024 15:01:58 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=80=81=E5=B8=88?= =?UTF-8?q?=E5=8F=8D=E9=A6=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/BlTeacherAnswerMapper.java | 1 + .../mapper/xml/BlTeacherAnswerMapper.xml | 450 +++--- .../impl/BlTeacherAnswerServiceImpl.java | 1258 +++++++++-------- .../officetemplates/exp1/teacher-tjfx.docx | Bin 285269 -> 292026 bytes .../src/main/resources/application-prod.yml | 2 +- .../blStuInfo/components/BlStuInfoV2Form.vue | 1 - .../components/BlTeacherInfoV2Form.vue | 21 +- 7 files changed, 897 insertions(+), 836 deletions(-) diff --git a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/blTeacherAnswer/mapper/BlTeacherAnswerMapper.java b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/blTeacherAnswer/mapper/BlTeacherAnswerMapper.java index a66fb23..1855c6c 100644 --- a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/blTeacherAnswer/mapper/BlTeacherAnswerMapper.java +++ b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/blTeacherAnswer/mapper/BlTeacherAnswerMapper.java @@ -183,4 +183,5 @@ public interface BlTeacherAnswerMapper extends BaseMapper { BlTeacherAnswer getSelectJxrwfpqkbfb2(BlTeacherInfo blTeacherMain); List getSelectzytjpj32(BlTeacherInfo blTeacherMain); + } diff --git a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/blTeacherAnswer/mapper/xml/BlTeacherAnswerMapper.xml b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/blTeacherAnswer/mapper/xml/BlTeacherAnswerMapper.xml index d493762..99d9eee 100644 --- a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/blTeacherAnswer/mapper/xml/BlTeacherAnswerMapper.xml +++ b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/blTeacherAnswer/mapper/xml/BlTeacherAnswerMapper.xml @@ -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 * 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 @@ -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 '教学认知能力' 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 ('辅导员','教学科研型') @@ -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 ('辅导员','教学科研型') @@ -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 ('辅导员','教学科研型') @@ -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 ('辅导员','教学科研型') @@ -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 '高阶性' 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} @@ -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 ('辅导员','教学科研型') @@ -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 ('辅导员','教学科研型') @@ -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 @@ -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 ('辅导员','教学科研型') @@ -1250,32 +1256,32 @@ @@ -1687,46 +1693,46 @@ 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 @@ -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 ('辅导员','教学科研型') + +