From fb961e15a250595124e5dcc1e469ece705ffd770 Mon Sep 17 00:00:00 2001 From: bai <1643359946@qq.com> Date: Tue, 24 Sep 2024 23:33:16 +0800 Subject: [PATCH] =?UTF-8?q?2024=E5=B9=B49=E6=9C=8824=E6=97=A5=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/xml/BlStuAnswerMapper.xml | 53 +-- .../mapper/xml/BlTeacherAnswerMapper.xml | 338 +++++++++--------- .../impl/BlTeacherAnswerServiceImpl.java | 34 +- .../blTeacherInfo/entity/BlTeacherInfo.java | 14 +- 4 files changed, 219 insertions(+), 220 deletions(-) diff --git a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/blStuAnswer/mapper/xml/BlStuAnswerMapper.xml b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/blStuAnswer/mapper/xml/BlStuAnswerMapper.xml index beed011..c2a485a 100644 --- a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/blStuAnswer/mapper/xml/BlStuAnswerMapper.xml +++ b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/blStuAnswer/mapper/xml/BlStuAnswerMapper.xml @@ -1046,60 +1046,63 @@ select a.POSITIONTYPE,a.POSITIONTYPE_cnt as cnt,format(round(a.POSITIONTYPE_cnt/b.total_cnt,2)*100,0) as num from (select POSITIONTYPE,count('x') as POSITIONTYPE_cnt from bl_teacher_answer where main_id = #{id} GROUP BY POSITIONTYPE order by POSITIONTYPE) a, - (select count('x') as total_cnt from bl_teacher_answer where main_id = #{id} ) b where POSITIONTYPE = '科研型' + (select count('x') as total_cnt from bl_teacher_answer where main_id = #{id} ) b where POSITIONTYPE = '教学科研型' union all select a.POSITIONTYPE,a.POSITIONTYPE_cnt as cnt,format(round(a.POSITIONTYPE_cnt/b.total_cnt,2)*100,0) as num from (select POSITIONTYPE,count('x') as POSITIONTYPE_cnt from bl_teacher_answer where main_id = #{id} GROUP BY POSITIONTYPE order by POSITIONTYPE) a, @@ -117,21 +117,21 @@ select '热爱工作,能以最大的热情投身教育行业,积极主动学习' as lsname,a.d1 as tj1,b.d2 as tj2,c.d3 as tj3,d.d4 as tj4 from - (select format(sum(BEHAVIOR_PASSION2)/count('x'),2)as d1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '科研型' )a, + (select format(sum(BEHAVIOR_PASSION2)/count('x'),2)as d1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学科研型' )a, (select format(sum(BEHAVIOR_PASSION2)/count('x'),2)as d2 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学型' )b, (select format(sum(BEHAVIOR_PASSION2)/count('x'),2)as d3 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '科研型' )c, (select format(sum(BEHAVIOR_PASSION2)/count('x'),2)as d4 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '辅导员' )d union all select '关爱学生,积极帮助学生解决生活或学习上的困难' as lsname,a.d1 as tj1,b.d2 as tj2,c.d3 as tj3,d.d4 as tj4 from - (select format(sum(BEHAVIOR_SOLVE2)/count('x'),2)as d1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '科研型' )a, + (select format(sum(BEHAVIOR_SOLVE2)/count('x'),2)as d1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学科研型' )a, (select format(sum(BEHAVIOR_SOLVE2)/count('x'),2)as d2 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学型' )b, (select format(sum(BEHAVIOR_SOLVE2)/count('x'),2)as d3 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '科研型' )c, (select format(sum(BEHAVIOR_SOLVE2)/count('x'),2)as d4 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '辅导员' )d union all select '关注学生的心理健康状况' as lsname,a.d1 as tj1,b.d2 as tj2,c.d3 as tj3,d.d4 as tj4 from - (select format(sum(BEHAVIOR_MENTAL2)/count('x'),2)as d1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '科研型' )a, + (select format(sum(BEHAVIOR_MENTAL2)/count('x'),2)as d1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学科研型' )a, (select format(sum(BEHAVIOR_MENTAL2)/count('x'),2)as d2 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学型' )b, (select format(sum(BEHAVIOR_MENTAL2)/count('x'),2)as d3 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '科研型' )c, (select format(sum(BEHAVIOR_MENTAL2)/count('x'),2)as d4 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '辅导员' )d union all select '教学有序,有清晰合理的教学目标并能清楚地向学生解释' as lsname,a.d1 as tj1,b.d2 as tj2,c.d3 as tj3,d.d4 as tj4 from - (select format(sum(BEHAVIOR_AIM2)/count('x'),2)as d1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '科研型' )a, + (select format(sum(BEHAVIOR_AIM2)/count('x'),2)as d1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学科研型' )a, (select format(sum(BEHAVIOR_AIM2)/count('x'),2)as d2 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学型' )b, (select format(sum(BEHAVIOR_AIM2)/count('x'),2)as d3 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '科研型' )c, (select format(sum(BEHAVIOR_AIM2)/count('x'),2)as d4 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '辅导员' )d union all select '育人有方,激发学生的学习兴趣,注重培养学生的创新精神和创新思维' as lsname,a.d1 as tj1,b.d2 as tj2,c.d3 as tj3,d.d4 as tj4 from - (select format(sum(BEHAVIOR_CREATE2)/count('x'),2)as d1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '科研型' )a, + (select format(sum(BEHAVIOR_CREATE2)/count('x'),2)as d1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学科研型' )a, (select format(sum(BEHAVIOR_CREATE2)/count('x'),2)as d2 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学型' )b, (select format(sum(BEHAVIOR_CREATE2)/count('x'),2)as d3 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '科研型' )c, (select format(sum(BEHAVIOR_CREATE2)/count('x'),2)as d4 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '辅导员' )d union all select '以身作则,信守承诺' as lsname,a.d1 as tj1,b.d2 as tj2,c.d3 as tj3,d.d4 as tj4 from - (select format(sum(BEHAVIOR_COMMIT2)/count('x'),2)as d1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '科研型' )a, + (select format(sum(BEHAVIOR_COMMIT2)/count('x'),2)as d1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学科研型' )a, (select format(sum(BEHAVIOR_COMMIT2)/count('x'),2)as d2 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学型' )b, (select format(sum(BEHAVIOR_COMMIT2)/count('x'),2)as d3 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '科研型' )c, (select format(sum(BEHAVIOR_COMMIT2)/count('x'),2)as d4 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '辅导员' )d @@ -372,27 +372,27 @@ @@ -469,23 +469,23 @@ @@ -548,7 +548,7 @@ 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 = '教学科研型' @@ -558,44 +558,44 @@ 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 not in ('辅导员','科研型') --- and POSITIONTYPE = '科研型' +-- and POSITIONTYPE = '教学科研型' @@ -673,21 +673,21 @@ @@ -749,12 +749,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 main_id = #{id} and ZYK_SKILL = '非常符合')a, - (select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and ZYK_SKILL = '比较符合')b, - (select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and ZYK_SKILL = '一般')c, - (select count('x') as bjb_cnt from bl_teacher_answer where main_id = #{id} and ZYK_SKILL = '比较不符合')d, - (select count('x') as fcb_cnt from bl_teacher_answer where main_id = #{id} and ZYK_SKILL = '非常不符合')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 main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_SKILL = '非常符合')a, + (select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_SKILL = '比较符合')b, + (select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_SKILL = '一般')c, + (select count('x') as bjb_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_SKILL = '比较不符合')d, + (select count('x') as fcb_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_SKILL = '非常不符合')e, + (select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型'))f union all select '高阶性' as des,'课程教学培养了我解决复杂问题的综合能力' as lsname, format(round(a.fc_cnt/f.tot_cnt,2)*100,0) as tj1, @@ -762,12 +762,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 main_id = #{id} and ZYK_PROBLEM = '非常符合')a, - (select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and ZYK_PROBLEM = '比较符合')b, - (select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and ZYK_PROBLEM = '一般')c, - (select count('x') as bjb_cnt from bl_teacher_answer where main_id = #{id} and ZYK_PROBLEM = '比较不符合')d, - (select count('x') as fcb_cnt from bl_teacher_answer where main_id = #{id} and ZYK_PROBLEM = '非常不符合')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 main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_PROBLEM = '非常符合')a, + (select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_PROBLEM = '比较符合')b, + (select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_PROBLEM = '一般')c, + (select count('x') as bjb_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_PROBLEM = '比较不符合')d, + (select count('x') as fcb_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_PROBLEM = '非常不符合')e, + (select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型'))f union all select '创新性' as des,'课程内容注重学科间的交叉与融合' as lsname, format(round(a.fc_cnt/f.tot_cnt,2)*100,0) as tj1, @@ -775,12 +775,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 main_id = #{id} and ZYK_CROSS = '非常符合')a, - (select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and ZYK_CROSS = '比较符合')b, - (select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and ZYK_CROSS = '一般')c, - (select count('x') as bjb_cnt from bl_teacher_answer where main_id = #{id} and ZYK_CROSS = '比较不符合')d, - (select count('x') as fcb_cnt from bl_teacher_answer where main_id = #{id} and ZYK_CROSS = '非常不符合')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 main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_CROSS = '非常符合')a, + (select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_CROSS = '比较符合')b, + (select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_CROSS = '一般')c, + (select count('x') as bjb_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_CROSS = '比较不符合')d, + (select count('x') as fcb_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_CROSS = '非常不符合')e, + (select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型'))f union all select '创新性' as des,'课程内容反映了学科发展的前沿内容' as lsname, format(round(a.fc_cnt/f.tot_cnt,2)*100,0) as tj1, @@ -788,12 +788,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 main_id = #{id} and ZYK_NEW = '非常符合')a, - (select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and ZYK_NEW = '比较符合')b, - (select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and ZYK_NEW = '一般')c, - (select count('x') as bjb_cnt from bl_teacher_answer where main_id = #{id} and ZYK_NEW = '比较不符合')d, - (select count('x') as fcb_cnt from bl_teacher_answer where main_id = #{id} and ZYK_NEW = '非常不符合')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 main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_NEW = '非常符合')a, + (select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_NEW = '比较符合')b, + (select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_NEW = '一般')c, + (select count('x') as bjb_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_NEW = '比较不符合')d, + (select count('x') as fcb_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_NEW = '非常不符合')e, + (select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型'))f union all select '创新性' as des,'课程教学内容重视实践与理论的结合' as lsname, format(round(a.fc_cnt/f.tot_cnt,2)*100,0) as tj1, @@ -801,12 +801,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 main_id = #{id} and ZYK_INTERN = '非常符合')a, - (select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and ZYK_INTERN = '比较符合')b, - (select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and ZYK_INTERN = '一般')c, - (select count('x') as bjb_cnt from bl_teacher_answer where main_id = #{id} and ZYK_INTERN = '比较不符合')d, - (select count('x') as fcb_cnt from bl_teacher_answer where main_id = #{id} and ZYK_INTERN = '非常不符合')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 main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_INTERN = '非常符合')a, + (select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_INTERN = '比较符合')b, + (select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_INTERN = '一般')c, + (select count('x') as bjb_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_INTERN = '比较不符合')d, + (select count('x') as fcb_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_INTERN = '非常不符合')e, + (select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型'))f union all select '挑战度' as des,'需要非常努力才能达到课程要求' as lsname, format(round(a.fc_cnt/f.tot_cnt,2)*100,0) as tj1, @@ -814,12 +814,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 main_id = #{id} and ZYK_EFFORT = '非常符合')a, - (select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and ZYK_EFFORT = '比较符合')b, - (select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and ZYK_EFFORT = '一般')c, - (select count('x') as bjb_cnt from bl_teacher_answer where main_id = #{id} and ZYK_EFFORT = '比较不符合')d, - (select count('x') as fcb_cnt from bl_teacher_answer where main_id = #{id} and ZYK_EFFORT = '非常不符合')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 main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_EFFORT = '非常符合')a, + (select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_EFFORT = '比较符合')b, + (select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_EFFORT = '一般')c, + (select count('x') as bjb_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_EFFORT = '比较不符合')d, + (select count('x') as fcb_cnt from bl_teacher_answer where main_id = #{id} and POSITIONTYPE not in ('辅导员','科研型') and ZYK_EFFORT = '非常不符合')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 @@ -827,53 +827,53 @@ - select '科研型' as lsname, + select '教学科研型' as lsname, format(round(sum(LINIAN_ZJGJ)/count('x'),2)*100,0) as tj1, format(round(sum(LINIAN_PYMB)/count('x'),2)*100,0) as tj2, format(round(sum(LINIAN_PYFA)/count('x'),2)*100,0) as tj3, 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 POSITIONTYPE = '科研型' and main_id = #{id} + where POSITIONTYPE = '教学科研型' and main_id = #{id} union ALL select '教学型' as lsname, format(round(sum(LINIAN_ZJGJ)/count('x'),2)*100,0) as tj1, @@ -1061,7 +1061,7 @@ select '课前运用网络课程平台、教材或资料进行自主预学,梳理知识并发现问题' as lsname,a.d1 as tj1,b.d2 as tj2,c.d3 as tj3,d.d4 as tj4 from - (select format(sum(PRE_CLASS_PREVIEW2)/count('x'),2)as d1 from bl_teacher_answer where POSITIONTYPE = '科研型' and main_id = #{id} )a, + (select format(sum(PRE_CLASS_PREVIEW2)/count('x'),2)as d1 from bl_teacher_answer where POSITIONTYPE = '教学科研型' and main_id = #{id} )a, (select format(sum(PRE_CLASS_PREVIEW2)/count('x'),2)as d2 from bl_teacher_answer where POSITIONTYPE = '教学型' and main_id = #{id} )b, (select format(sum(PRE_CLASS_PREVIEW2)/count('x'),2)as d3 from bl_teacher_answer where POSITIONTYPE = '科研型' and main_id = #{id} )c, (select format(sum(PRE_CLASS_PREVIEW2)/count('x'),2)as d4 from bl_teacher_answer where POSITIONTYPE = '辅导员' and main_id = #{id} )d union all select '课堂上能跟上老师的讲解,主动提问或参与讨论,每节课学有所获' as lsname,a.d1 as '师德师风',b.d2 as tj2,c.d3 as tj3,d.d4 as tj4 from - (select format(sum(IN_CLASS_QUESTIONS2)/count('x'),2)as d1 from bl_teacher_answer where POSITIONTYPE = '科研型' and main_id = #{id} )a, + (select format(sum(IN_CLASS_QUESTIONS2)/count('x'),2)as d1 from bl_teacher_answer where POSITIONTYPE = '教学科研型' and main_id = #{id} )a, (select format(sum(IN_CLASS_QUESTIONS2)/count('x'),2)as d2 from bl_teacher_answer where POSITIONTYPE = '教学型' and main_id = #{id} )b, (select format(sum(IN_CLASS_QUESTIONS2)/count('x'),2)as d3 from bl_teacher_answer where POSITIONTYPE = '科研型' and main_id = #{id} )c, (select format(sum(IN_CLASS_QUESTIONS2)/count('x'),2)as d4 from bl_teacher_answer where POSITIONTYPE = '辅导员' and main_id = #{id} )d union all select '课后复习笔记及总结课堂教学相关知识' as '具体方面',a.d1 as lsname,b.d2 as tj2,c.d3 as tj3,d.d4 as tj4 from - (select format(sum(AFTER_CLASS_SUMMARY2)/count('x'),2)as d1 from bl_teacher_answer where POSITIONTYPE = '科研型' and main_id = #{id} )a, + (select format(sum(AFTER_CLASS_SUMMARY2)/count('x'),2)as d1 from bl_teacher_answer where POSITIONTYPE = '教学科研型' and main_id = #{id} )a, (select format(sum(AFTER_CLASS_SUMMARY2)/count('x'),2)as d2 from bl_teacher_answer where POSITIONTYPE = '教学型' and main_id = #{id} )b, (select format(sum(AFTER_CLASS_SUMMARY2)/count('x'),2)as d3 from bl_teacher_answer where POSITIONTYPE = '科研型' and main_id = #{id} )c, (select format(sum(AFTER_CLASS_SUMMARY2)/count('x'),2)as d4 from bl_teacher_answer where POSITIONTYPE = '辅导员' and main_id = #{id} )d union all select '除了阅读教材,还延伸阅读教师推荐的其他相关书目' as lsname,a.d1 as tj1,b.d2 as tj2,c.d3 as tj3,d.d4 as tj4 from - (select format(sum(AFTER_CLASS_READ2)/count('x'),2)as d1 from bl_teacher_answer where POSITIONTYPE = '科研型' and main_id = #{id} )a, + (select format(sum(AFTER_CLASS_READ2)/count('x'),2)as d1 from bl_teacher_answer where POSITIONTYPE = '教学科研型' and main_id = #{id} )a, (select format(sum(AFTER_CLASS_READ2)/count('x'),2)as d2 from bl_teacher_answer where POSITIONTYPE = '教学型' and main_id = #{id} )b, (select format(sum(AFTER_CLASS_READ2)/count('x'),2)as d3 from bl_teacher_answer where POSITIONTYPE = '科研型' and main_id = #{id} )c, (select format(sum(AFTER_CLASS_READ2)/count('x'),2)as d4 from bl_teacher_answer where POSITIONTYPE = '辅导员' and main_id = #{id} )d @@ -1358,28 +1358,28 @@ select '我清楚自己的岗位职责和要求' as lsname,a.d1 as tj1,b.d2 as tj2,c.d3 as tj3,d.d4 as tj4 from - (select format(sum(DEDICATION_STANDARD2)/count('x'),2)as d1 from bl_teacher_answer where POSITIONTYPE = '科研型' and main_id = #{id} )a, + (select format(sum(DEDICATION_STANDARD2)/count('x'),2)as d1 from bl_teacher_answer where POSITIONTYPE = '教学科研型' and main_id = #{id} )a, (select format(sum(DEDICATION_STANDARD2)/count('x'),2)as d2 from bl_teacher_answer where POSITIONTYPE = '教学型' and main_id = #{id} )b, (select format(sum(DEDICATION_STANDARD2)/count('x'),2)as d3 from bl_teacher_answer where POSITIONTYPE = '科研型' and main_id = #{id} )c, (select format(sum(DEDICATION_STANDARD2)/count('x'),2)as d4 from bl_teacher_answer where POSITIONTYPE = '辅导员' and main_id = #{id} )d union all select '我周围的教授同事们都为本科生上课' as lsname,a.d1 as tj1,b.d2 as tj2,c.d3 as tj3,d.d4 as tj4 from - (select format(sum(DEDICATION_HIGH2)/count('x'),2)as d1 from bl_teacher_answer where POSITIONTYPE = '科研型' and main_id = #{id} )a, + (select format(sum(DEDICATION_HIGH2)/count('x'),2)as d1 from bl_teacher_answer where POSITIONTYPE = '教学科研型' and main_id = #{id} )a, (select format(sum(DEDICATION_HIGH2)/count('x'),2)as d2 from bl_teacher_answer where POSITIONTYPE = '教学型' and main_id = #{id} )b, (select format(sum(DEDICATION_HIGH2)/count('x'),2)as d3 from bl_teacher_answer where POSITIONTYPE = '科研型' and main_id = #{id} )c, (select format(sum(DEDICATION_HIGH2)/count('x'),2)as d4 from bl_teacher_answer where POSITIONTYPE = '辅导员' and main_id = #{id} )d union all select '我和同事们都很乐意开展教学研究和改革' as lsname,a.d1 as tj1,b.d2 as tj2,c.d3 as tj3,d.d4 as tj4 from - (select format(sum(DEDICATION_DEVELOP2)/count('x'),2)as d1 from bl_teacher_answer where POSITIONTYPE = '科研型' and main_id = #{id} )a, + (select format(sum(DEDICATION_DEVELOP2)/count('x'),2)as d1 from bl_teacher_answer where POSITIONTYPE = '教学科研型' and main_id = #{id} )a, (select format(sum(DEDICATION_DEVELOP2)/count('x'),2)as d2 from bl_teacher_answer where POSITIONTYPE = '教学型' and main_id = #{id} )b, (select format(sum(DEDICATION_DEVELOP2)/count('x'),2)as d3 from bl_teacher_answer where POSITIONTYPE = '科研型' and main_id = #{id} )c, (select format(sum(DEDICATION_DEVELOP2)/count('x'),2)as d4 from bl_teacher_answer where POSITIONTYPE = '辅导员' and main_id = #{id} )d union all select '我和同事们都注重将科研成果融入教学' as lsname,a.d1 as tj1,b.d2 as tj2,c.d3 as tj3,d.d4 as tj4 from - (select format(sum(DEDICATION_RESEARCH2)/count('x'),2)as d1 from bl_teacher_answer where POSITIONTYPE = '科研型' and main_id = #{id} )a, + (select format(sum(DEDICATION_RESEARCH2)/count('x'),2)as d1 from bl_teacher_answer where POSITIONTYPE = '教学科研型' and main_id = #{id} )a, (select format(sum(DEDICATION_RESEARCH2)/count('x'),2)as d2 from bl_teacher_answer where POSITIONTYPE = '教学型' and main_id = #{id} )b, (select format(sum(DEDICATION_RESEARCH2)/count('x'),2)as d3 from bl_teacher_answer where POSITIONTYPE = '科研型' and main_id = #{id} )c, (select format(sum(DEDICATION_RESEARCH2)/count('x'),2)as d4 from bl_teacher_answer where POSITIONTYPE = '辅导员' and main_id = #{id} )d union all select '我和同事们都注重提升产学研用能力' as lsname,a.d1 as tj1,b.d2 as tj2,c.d3 as tj3,d.d4 as tj4 from - (select format(sum(DEDICATION_APPLY2)/count('x'),2)as d1 from bl_teacher_answer where POSITIONTYPE = '科研型' and main_id = #{id} )a, + (select format(sum(DEDICATION_APPLY2)/count('x'),2)as d1 from bl_teacher_answer where POSITIONTYPE = '教学科研型' and main_id = #{id} )a, (select format(sum(DEDICATION_APPLY2)/count('x'),2)as d2 from bl_teacher_answer where POSITIONTYPE = '教学型' and main_id = #{id} )b, (select format(sum(DEDICATION_APPLY2)/count('x'),2)as d3 from bl_teacher_answer where POSITIONTYPE = '科研型' and main_id = #{id} )c, (select format(sum(DEDICATION_APPLY2)/count('x'),2)as d4 from bl_teacher_answer where POSITIONTYPE = '辅导员' and main_id = #{id} )d union all select '我和同事们的教学和科研投入分配合理' as lsname,a.d1 as tj1,b.d2 as tj2,c.d3 as tj3,d.d4 as tj4 from - (select format(sum(DEDICATION_DISTRIBUTION2)/count('x'),2)as d1 from bl_teacher_answer where POSITIONTYPE = '科研型' and main_id = #{id} )a, + (select format(sum(DEDICATION_DISTRIBUTION2)/count('x'),2)as d1 from bl_teacher_answer where POSITIONTYPE = '教学科研型' and main_id = #{id} )a, (select format(sum(DEDICATION_DISTRIBUTION2)/count('x'),2)as d2 from bl_teacher_answer where POSITIONTYPE = '教学型' and main_id = #{id} )b, (select format(sum(DEDICATION_DISTRIBUTION2)/count('x'),2)as d3 from bl_teacher_answer where POSITIONTYPE = '科研型' and main_id = #{id} )c, (select format(sum(DEDICATION_DISTRIBUTION2)/count('x'),2)as d4 from bl_teacher_answer where POSITIONTYPE = '辅导员' and main_id = #{id} )d @@ -1650,42 +1650,42 @@ 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} 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 + (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 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} 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 + (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 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} 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 + (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 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} 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 + (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 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} 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 + (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 ) t order by tj1 asc @@ -1806,35 +1806,35 @@ - select '科研型' as lsname,format(sum(COLLSATI2)/count(*),0) as tj1 from bl_teacher_answer where POSITIONTYPE = '科研型' and main_id =#{id} + select '教学科研型' as lsname,format(sum(COLLSATI2)/count(*),0) as tj1 from bl_teacher_answer where POSITIONTYPE = '教学科研型' and main_id =#{id} union ALL select '教学型' as lsname,format(sum(COLLSATI2)/count(*),0) as tj1 from bl_teacher_answer where POSITIONTYPE = '教学型' and main_id =#{id} union ALL diff --git a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/blTeacherAnswer/service/impl/BlTeacherAnswerServiceImpl.java b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/blTeacherAnswer/service/impl/BlTeacherAnswerServiceImpl.java index 5b650e6..10530ee 100644 --- a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/blTeacherAnswer/service/impl/BlTeacherAnswerServiceImpl.java +++ b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/blTeacherAnswer/service/impl/BlTeacherAnswerServiceImpl.java @@ -1162,7 +1162,7 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl gwlxjgList = baseMapper.getSelectGwlxjg(blTeacherMain); for (BlTeacherAnswer par:gwlxjgList){ - if(StringUtils.equals(par.getPositiontype(),"科研型")){ + if(StringUtils.equals(par.getPositiontype(),"教学科研型")){ result.put("gwlxjg1", par.getCnt());//数量 result.put("gwlxjg1_zb", par.getNum());//占比 }else if(StringUtils.equals(par.getPositiontype(),"教学型")){ @@ -1273,7 +1273,7 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl