2024年7月10日 修复问题
This commit is contained in:
parent
cb1acfcde9
commit
46db47413f
|
@ -52,3 +52,5 @@ os_del_doc.cmd
|
|||
derby.log
|
||||
|
||||
application-local.yml
|
||||
|
||||
applicationTemp
|
|
@ -13,8 +13,8 @@ import org.jeecg.common.system.base.controller.JeecgController;
|
|||
import org.jeecg.common.system.query.QueryGenerator;
|
||||
import org.jeecg.modules.demo.blStuAnswer.entity.BlStuAnswer;
|
||||
import org.jeecg.modules.demo.blStuAnswer.service.IBlStuAnswerService;
|
||||
import org.jeecg.modules.demo.blStuInfo.entity.BlStuInfo;
|
||||
import org.jeecg.modules.demo.blStuInfo.service.IBlStuInfoService;
|
||||
import org.jeecg.modules.demo.blStuInfo.entity.BlStuInfo;
|
||||
import org.jeecg.modules.tools.word.ExportWord;
|
||||
import org.jeecg.modules.tools.word.WordOperator;
|
||||
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
||||
|
@ -191,17 +191,6 @@ public class BlStuAnswerController extends JeecgController<BlStuAnswer, IBlStuAn
|
|||
//1200条 saveBatch消耗时间3687毫秒 循环插入消耗时间5212毫秒
|
||||
log.info("消耗时间" + (System.currentTimeMillis() - start) + "毫秒");
|
||||
|
||||
//直接导出附件
|
||||
WordOperator wo = service.createWordTjfx(id);
|
||||
//保存到本地附件里
|
||||
// String exportWordPath = ExportWord.wordPathToLocalFile(wo,"学生问卷详细信息.docx", "exportWords");
|
||||
//保存到主表里
|
||||
// var updateWp = new UpdateWrapper<BlStuInfo>();
|
||||
// updateWp.lambda().eq(BlStuInfo::getId, id);
|
||||
// updateWp.lambda().set()
|
||||
// blStuInfoService.update(updateWp);
|
||||
|
||||
|
||||
//update-end-author:taoyan date:20190528 for:批量插入数据
|
||||
return Result.ok("文件导入成功!数据行数:" + list.size());
|
||||
} catch (Exception e) {
|
||||
|
@ -235,4 +224,21 @@ public class BlStuAnswerController extends JeecgController<BlStuAnswer, IBlStuAn
|
|||
ExportWord.download_word(request, response, "file.doc", wo);
|
||||
}
|
||||
|
||||
@ApiOperation(value="生成教师问卷报表", notes="生成教师问卷报表")
|
||||
@GetMapping(value = "/createWord")
|
||||
public Result<String> createWord(@RequestParam(name="id",required=true) String id) throws Exception {
|
||||
//直接导出附件
|
||||
WordOperator wo = service.createWordTjfx(id);
|
||||
BlStuInfo blStuInfo = blStuInfoService.getById(id);
|
||||
//保存到本地附件里
|
||||
String exportWordPath = ExportWord.wordPathToLocalFile(wo,"["+blStuInfo.getSchoolName()+"]-"+blStuInfo.getPgrq()+"-问卷分析情况.docx", "exportWords");
|
||||
//保存到主表里
|
||||
var updateWp = new UpdateWrapper<BlStuInfo>();
|
||||
updateWp.lambda().eq(BlStuInfo::getId, id);
|
||||
updateWp.lambda().set(BlStuInfo::getFilePath,exportWordPath);
|
||||
blStuInfoService.update(updateWp);
|
||||
return Result.OK("生成成功");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
<select id="selectDtsl" resultType="String">
|
||||
select count(*) as dtsl from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
<select id="t1_1_1" resultType="java.util.Map">
|
||||
<select id="t1_1_1" resultType="java.util.LinkedHashMap">
|
||||
select a.sex as 'key',a.sex_cnt as '01',round(round(a.sex_cnt/b.total_cnt,2)*100) as '02' from
|
||||
(select sex,count('x') as sex_cnt from bl_stu_answer where main_id = #{id} GROUP BY sex order by sex) a,
|
||||
(select count('x') as total_cnt from bl_stu_answer where main_id = #{id}) b
|
||||
</select>
|
||||
|
||||
<select id="t1_1_2" resultType="java.util.Map">
|
||||
<select id="t1_1_2" resultType="java.util.LinkedHashMap">
|
||||
select '大一' as 'key',b.d1_cnt as '01',round(round(b.d1_cnt/a.tot_cnt,2)*100) as '02'
|
||||
from
|
||||
(select count('x') as tot_cnt from bl_stu_answer where main_id = #{id})a,
|
||||
|
@ -34,18 +34,18 @@
|
|||
(select count('x') as d1_cnt from bl_stu_answer where NIANJI = '大四' and main_id = #{id})b
|
||||
</select>
|
||||
|
||||
<select id="t1_1_3" resultType="java.util.Map">
|
||||
<select id="t1_1_3" resultType="java.util.LinkedHashMap">
|
||||
select a.POLITICS as 'key',a.POLITICS_cnt as '01',round(round(a.POLITICS_cnt/b.total_cnt,2)*100) as '02' from
|
||||
(select POLITICS,count('x') as POLITICS_cnt from bl_stu_answer where main_id = #{id} GROUP BY POLITICS order by POLITICS) a,
|
||||
(select count('x') as total_cnt from bl_stu_answer where main_id = #{id}) b
|
||||
where POLITICS is not null and POLITICS != ''
|
||||
</select>
|
||||
|
||||
<select id="viewBlMajorStatic" resultType="java.util.Map">
|
||||
<select id="viewBlMajorStatic" resultType="java.util.LinkedHashMap">
|
||||
select CONCAT(dep,'-',major_maj) as 'key', dep as '01', major_maj as '02', maj_cnt as '03', `round((b.maj_cnt/a.dep_cnt)*100)` as '04' from view_bl_major_static
|
||||
</select>
|
||||
|
||||
<select id="i1_1" resultType="java.util.Map">
|
||||
<select id="i1_1" resultType="java.util.LinkedHashMap">
|
||||
select '课前运用网络课程平台、教材或资料进行自主预学,梳理知识并发现问题' as 'key',
|
||||
round(round(a.fc_cnt/f.tot_cnt,2)*100) as '非常符合',
|
||||
round(round(b.bj_cnt/f.tot_cnt,2)*100) as '比较符合',
|
||||
|
@ -115,7 +115,7 @@
|
|||
select round(sum(AFTER_CLASS_READ2)/count('x'),2) from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="i1_2" resultType="java.util.Map">
|
||||
<select id="i1_2" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
'key' as 'key',
|
||||
round(sum(PRE_CLASS_PREVIEW2)/count('x'),2) as '课前运用网络课程平台、教材或资料进行自主预学,梳理知识并发现问题',
|
||||
|
@ -125,7 +125,7 @@
|
|||
from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="t1_3" resultType="java.util.Map">
|
||||
<select id="t1_3" resultType="java.util.LinkedHashMap">
|
||||
select '课前运用网络课程平台、教材或资料进行自主预学,梳理知识并发现问题' as 'key',a.d1 as '01',b.d2 as '02',c.d3 as '03',d.d4 as '04'
|
||||
from
|
||||
(select round(sum(PRE_CLASS_PREVIEW2)/count('x'),2)as d1 from bl_stu_answer where main_id = #{id} and nianji = '大一' )a,
|
||||
|
@ -155,7 +155,7 @@
|
|||
(select round(sum(AFTER_CLASS_READ2)/count('x'),2)as d4 from bl_stu_answer where main_id = #{id} and nianji = '大四' )d
|
||||
</select>
|
||||
|
||||
<select id="t1_4" resultType="java.util.Map">
|
||||
<select id="t1_4" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
major as 'key',
|
||||
round(sum(PRE_CLASS_PREVIEW2)/count('x'),2) as '01',
|
||||
|
@ -181,7 +181,7 @@
|
|||
select round(sum(STUDYTIME_ONLINE)/count('x')) from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="t1_5" resultType="java.util.Map">
|
||||
<select id="t1_5" resultType="java.util.LinkedHashMap">
|
||||
select '完成作业' as 'key',e.d5 as '01',a.d1 as '02',b.d2 as '03',c.d3 as '04',d.d4 as '05'
|
||||
from
|
||||
(select round(round(sum(STUDYTIME_HOMEWORK)/count('x'),2))as d1 from bl_stu_answer where main_id = #{id} and nianji = '大一' )a,
|
||||
|
@ -215,7 +215,7 @@
|
|||
(select round(round(sum(STUDYTIME_ONLINE)/count('x'),2))as d5 from bl_stu_answer where main_id = #{id} )e
|
||||
</select>
|
||||
|
||||
<select id="t1_6" resultType="java.util.Map">
|
||||
<select id="t1_6" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
major as 'key',
|
||||
round(sum(STUDYTIME_HOMEWORK)/count('x')) as '01',
|
||||
|
@ -241,7 +241,7 @@
|
|||
select round(sum(STUDYTIME_OTHER)/count('x')) from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="t1_7" resultType="java.util.Map">
|
||||
<select id="t1_7" resultType="java.util.LinkedHashMap">
|
||||
select '做实验/科研项目' as 'key',e.d5 as '01',a.d1 as '02',b.d2 as '03',c.d3 as '04',d.d4 as '05'
|
||||
from
|
||||
(select round(round(sum(STUDYTIME_EXPERIMENT)/count('x'),2))as d1 from bl_stu_answer where main_id = #{id} and nianji = '大一' )a,
|
||||
|
@ -275,7 +275,7 @@
|
|||
(select round(round(sum(STUDYTIME_OTHER)/count('x'),2))as d5 from bl_stu_answer where main_id = #{id} )e
|
||||
</select>
|
||||
|
||||
<select id="t1_8" resultType="java.util.Map">
|
||||
<select id="t1_8" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
major as 'key',
|
||||
round(sum(STUDYTIME_EXPERIMENT)/count('x')) as '01',
|
||||
|
@ -301,7 +301,7 @@
|
|||
select concat(round(round(sum(INTERACT_RESEARCH1)/count('x'),2)*100)) from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="i1_9" resultType="java.util.Map">
|
||||
<select id="i1_9" resultType="java.util.LinkedHashMap">
|
||||
select '和同学合作完成课程任务或作业' as 'key',
|
||||
round(round(a.fc_cnt/f.tot_cnt,2)*100) as '总是',
|
||||
round(round(b.bj_cnt/f.tot_cnt,2)*100) as '经常',
|
||||
|
@ -347,7 +347,7 @@
|
|||
(select count('x') as tot_cnt from bl_stu_answer where main_id = #{id})f
|
||||
</select>
|
||||
|
||||
<select id="t1_10" resultType="java.util.Map">
|
||||
<select id="t1_10" resultType="java.util.LinkedHashMap">
|
||||
select '和同学合作完成课程任务或作业' as 'key',a.d1 as '01',b.d2 as '02',c.d3 as '03',d.d4 as '04'
|
||||
from
|
||||
(select round(round(sum(INTERACT_TASK1)/count('x'),2)*100)as d1 from bl_stu_answer where main_id = #{id} and nianji = '大一' )a,
|
||||
|
@ -377,7 +377,7 @@
|
|||
(select round(round(sum(INTERACT_RESEARCH1)/count('x'),2)*100)as d4 from bl_stu_answer where main_id = #{id} and nianji = '大四' )d
|
||||
</select>
|
||||
|
||||
<select id="t1_11" resultType="java.util.Map">
|
||||
<select id="t1_11" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
major as 'key',
|
||||
round(round(sum(INTERACT_TASK1)/count('x'),2)*100) as '01',
|
||||
|
@ -399,7 +399,7 @@
|
|||
(select count('x') as tot_cnt from bl_stu_answer where main_id = #{id})b
|
||||
</select>
|
||||
|
||||
<select id="i1_12" resultType="java.util.Map">
|
||||
<select id="i1_12" resultType="java.util.LinkedHashMap">
|
||||
select a as 'key',c as '01' from
|
||||
(select a.EXCHANGE_FREQ as a,a.EXCHANGE_FREQ_cnt as b,round(round(a.EXCHANGE_FREQ_cnt/b.total_cnt,2)*100) as c from
|
||||
(select EXCHANGE_FREQ,count('x') as EXCHANGE_FREQ_cnt from bl_stu_answer where main_id = #{id} GROUP BY EXCHANGE_FREQ order by EXCHANGE_FREQ) a,
|
||||
|
@ -407,7 +407,7 @@
|
|||
order by 3 desc)e
|
||||
</select>
|
||||
|
||||
<select id="i1_13" resultType="java.util.Map">
|
||||
<select id="i1_13" resultType="java.util.LinkedHashMap">
|
||||
select '大一' as 'key',
|
||||
round(round(a.fc_cnt/f.tot_cnt,2)*100) as '每周至少一次',
|
||||
round(round(b.bj_cnt/f.tot_cnt,2)*100) as '每月至少一次',
|
||||
|
@ -453,7 +453,7 @@
|
|||
(select count('x') as tot_cnt from bl_stu_answer where main_id = #{id} and NIANJI = '大四')f
|
||||
</select>
|
||||
|
||||
<select id="t1_14" resultType="java.util.Map">
|
||||
<select id="t1_14" resultType="java.util.LinkedHashMap">
|
||||
select z.major as 'key',round(round(z.z_cnt/t.tot_cnt,2)*100) as '01',round(round(y.y_cnt/t.tot_cnt,2)*100) as '02',round(round(x.x_cnt/t.tot_cnt,2)*100) as '03',round(round(n.n_cnt/t.tot_cnt,2)*100) as '04'
|
||||
from
|
||||
(select major,count('x') as z_cnt from bl_stu_answer where main_id = #{id} and EXCHANGE_FREQ = '每周至少一次' GROUP BY major)z,
|
||||
|
@ -493,7 +493,7 @@
|
|||
(select count('x') as tot_cnt from bl_stu_answer where main_id = #{id})b
|
||||
</select>
|
||||
|
||||
<select id="i2_1" resultType="java.util.Map">
|
||||
<select id="i2_1" resultType="java.util.LinkedHashMap">
|
||||
select '思政课程总体满意度' as 'key',
|
||||
round(round(a.fc_cnt/f.tot_cnt,2)*100) as '非常满意',
|
||||
round(round(b.bj_cnt/f.tot_cnt,2)*100) as '比较满意',
|
||||
|
@ -511,11 +511,11 @@
|
|||
select concat(round(sum(SXZZK_SATI2)/count(*))) from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="i2_2" resultType="java.util.Map">
|
||||
<select id="i2_2" resultType="java.util.LinkedHashMap">
|
||||
select '思政课程总体满意度' as 'key',concat(round(sum(SXZZK_SATI2)/count(*))) as '01' from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="t2_3" resultType="java.util.Map">
|
||||
<select id="t2_3" resultType="java.util.LinkedHashMap">
|
||||
select '思政课程总体满意度' as 'key',a.d1 as '01',b.d2 as '02',c.d3 as '03',d.d4 as '04'
|
||||
from
|
||||
(select round(sum(SXZZK_SATI2)/count(*))as d1 from bl_stu_answer where main_id = #{id} and nianji = '大一' )a,
|
||||
|
@ -524,14 +524,14 @@
|
|||
(select round(sum(SXZZK_SATI2)/count(*))as d4 from bl_stu_answer where main_id = #{id} and nianji = '大四' )d
|
||||
</select>
|
||||
|
||||
<select id="t2_4" resultType="java.util.Map">
|
||||
<select id="t2_4" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
major as 'key',
|
||||
round(sum(SXZZK_SATI2)/count(*)) as '01'
|
||||
from bl_stu_answer where main_id = #{id} GROUP BY MAJOR
|
||||
</select>
|
||||
|
||||
<select id="i2_5" resultType="java.util.Map">
|
||||
<select id="i2_5" resultType="java.util.LinkedHashMap">
|
||||
select '教学形式' as 'key',
|
||||
round(round(a.fc_cnt/f.tot_cnt,2)*100) as '非常满意',
|
||||
round(round(b.bj_cnt/f.tot_cnt,2)*100) as '比较满意',
|
||||
|
@ -593,7 +593,7 @@
|
|||
select concat(round(round(sum(SXZZK_XIAOGUO2)/count('x'),2))) from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="i2_6" resultType="java.util.Map">
|
||||
<select id="i2_6" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
'思政课程各分项满意度' as 'key',
|
||||
round(round(sum(SXZZK_NEIRONG2)/count('x'),2)) as '教学内容',
|
||||
|
@ -603,7 +603,7 @@
|
|||
from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="t2_7" resultType="java.util.Map">
|
||||
<select id="t2_7" resultType="java.util.LinkedHashMap">
|
||||
select '教学内容' as 'key',a.d1 as '01',b.d2 as '02',c.d3 as '03',d.d4 as '04'
|
||||
from
|
||||
(select round(round(sum(SXZZK_NEIRONG2)/count('x'),2))as d1 from bl_stu_answer where main_id = #{id} and nianji = '大一' )a,
|
||||
|
@ -633,7 +633,7 @@
|
|||
(select round(round(sum(SXZZK_XIAOGUO2)/count('x'),2))as d4 from bl_stu_answer where main_id = #{id} and nianji = '大四' )d
|
||||
</select>
|
||||
|
||||
<select id="i2_8" resultType="java.util.Map">
|
||||
<select id="i2_8" resultType="java.util.LinkedHashMap">
|
||||
select '课程将知识、能力、素养进行了有机融合' as 'key',
|
||||
round(round(a.fc_cnt/f.tot_cnt,2)*100) as '非常符合',
|
||||
round(round(b.bj_cnt/f.tot_cnt,2)*100) as '比较符合',
|
||||
|
@ -737,7 +737,7 @@
|
|||
select round(sum(ZYK_EFFORT2)/count('x'),2) from bl_stu_answer where main_id = #{id};
|
||||
</select>
|
||||
|
||||
<select id="i2_9" resultType="java.util.Map">
|
||||
<select id="i2_9" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
'学生对专业课“两性一度”评价' as 'key',
|
||||
round(sum(ZYK_SKILL2)/count('x'),2) as '课程将知识、能力、素养进行了有机融合',
|
||||
|
@ -749,7 +749,7 @@
|
|||
from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="t2_10" resultType="java.util.Map">
|
||||
<select id="t2_10" resultType="java.util.LinkedHashMap">
|
||||
select '高阶性' as 'key','课程将知识、能力、素养进行了有机融合' as '01',a.d1 as '02',b.d2 as '03',c.d3 as '04',d.d4 as '05' from
|
||||
(select round(sum(ZYK_SKILL2)/count('x'),2)as d1 from bl_stu_answer where main_id = #{id} and nianji = '大一' )a,
|
||||
(select round(sum(ZYK_SKILL2)/count('x'),2)as d2 from bl_stu_answer where main_id = #{id} and nianji = '大二' )b,
|
||||
|
@ -787,7 +787,7 @@
|
|||
(select round(sum(ZYK_EFFORT2)/count('x'),2)as d4 from bl_stu_answer where main_id = #{id} and nianji = '大四' )d
|
||||
</select>
|
||||
|
||||
<select id="t2_11" resultType="java.util.Map">
|
||||
<select id="t2_11" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
major as 'key',
|
||||
round(sum(ZYK_SKILL2)/count('x'),2) as '01',
|
||||
|
@ -799,7 +799,7 @@
|
|||
from bl_stu_answer GROUP BY major order by major;
|
||||
</select>
|
||||
|
||||
<select id="i2_12" resultType="java.util.Map">
|
||||
<select id="i2_12" resultType="java.util.LinkedHashMap">
|
||||
select '提供案例或实例讨论' as 'key',
|
||||
round(round(a.fc_cnt/f.tot_cnt,2)*100) as '非常符合',
|
||||
round(round(b.bj_cnt/f.tot_cnt,2)*100) as '比较符合',
|
||||
|
@ -869,7 +869,7 @@
|
|||
select round(sum(METHOD_XIANGMU2)/count('x'),2) from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="i2_13" resultType="java.util.Map">
|
||||
<select id="i2_13" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
'学生对专业课教学方式评价' as 'key',
|
||||
round(sum(METHOD_JIANGSHOU2)/count('x'),2) as '课程以传统的教师讲授为主',
|
||||
|
@ -879,7 +879,7 @@
|
|||
from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="t2_14" resultType="java.util.Map">
|
||||
<select id="t2_14" resultType="java.util.LinkedHashMap">
|
||||
select '课程以传统的教师讲授为主' as 'key',a.d1 as '01',b.d2 as '02',c.d3 as '03',d.d4 as '04'
|
||||
from
|
||||
(select round(sum(METHOD_JIANGSHOU2)/count('x'),2)as d1 from bl_stu_answer where main_id = #{id} and nianji = '大一' )a,
|
||||
|
@ -909,7 +909,7 @@
|
|||
(select round(sum(METHOD_XIANGMU2)/count('x'),2)as d4 from bl_stu_answer where main_id = #{id} and nianji = '大四' )d
|
||||
</select>
|
||||
|
||||
<select id="t2_15" resultType="java.util.Map">
|
||||
<select id="t2_15" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
major as 'key',
|
||||
round(sum(METHOD_JIANGSHOU2)/count('x'),2) as '01',
|
||||
|
@ -943,7 +943,7 @@
|
|||
select concat(round(round(sum(EVALUATE_LUNWEN)/count('x'),2)*100)) from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="i2_16" resultType="java.util.Map">
|
||||
<select id="i2_16" resultType="java.util.LinkedHashMap">
|
||||
select '卷面考试' as 'key' ,round(round(b.no_cnt/a.tot_cnt,2)*100) as '01' from (select count('x') as tot_cnt from bl_stu_answer where main_id = #{id})a,(select count('x') as no_cnt from bl_stu_answer where main_id = #{id} and EVALUATE_JUANMIAN = #{id})b
|
||||
union all
|
||||
select '随堂提问或测试' as 'key' ,round(round(b.no_cnt/a.tot_cnt,2)*100) as '01' from (select count('x') as tot_cnt from bl_stu_answer where main_id = #{id})a,(select count('x') as no_cnt from bl_stu_answer where main_id = #{id} and EVALUATE_TIWEN = #{id})b
|
||||
|
@ -957,7 +957,7 @@
|
|||
select '过课程论文或实验报告' as 'key' ,round(round(b.no_cnt/a.tot_cnt,2)*100) as '01' from (select count('x') as tot_cnt from bl_stu_answer where main_id = #{id})a,(select count('x') as no_cnt from bl_stu_answer where main_id = #{id} and EVALUATE_LUNWEN = #{id})b
|
||||
</select>
|
||||
|
||||
<select id="i2_17" resultType="java.util.Map">
|
||||
<select id="i2_17" resultType="java.util.LinkedHashMap">
|
||||
select '体育教育' as 'key',
|
||||
round(round(a.fc_cnt/f.tot_cnt,2)*100) as '非常满意',
|
||||
round(round(b.bj_cnt/f.tot_cnt,2)*100) as '比较满意',
|
||||
|
@ -1016,7 +1016,7 @@
|
|||
from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="i2_18" resultType="java.util.Map">
|
||||
<select id="i2_18" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
'体美劳教育满意度' as 'key',
|
||||
round(sum(EDUSATI_TI2)/count('x')) as '体育教育',
|
||||
|
@ -1025,7 +1025,7 @@
|
|||
from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="t2_19" resultType="java.util.Map">
|
||||
<select id="t2_19" resultType="java.util.LinkedHashMap">
|
||||
select '体育教育' as 'key',a.d1 as '01',b.d2 as '02',c.d3 as '03',d.d4 as '04'
|
||||
from
|
||||
(select round(round(sum(EDUSATI_TI2)/count('x'),2))as d1 from bl_stu_answer where main_id = #{id} and nianji = '大一' )a,
|
||||
|
@ -1048,7 +1048,7 @@
|
|||
(select round(round(sum(EDUSATI_LAO2)/count('x'),2))as d4 from bl_stu_answer where main_id = #{id} and nianji = '大四' )d
|
||||
</select>
|
||||
|
||||
<select id="t2_20" resultType="java.util.Map">
|
||||
<select id="t2_20" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
major as 'key',
|
||||
round(sum(EDUSATI_TI2)/count('x')) as '01',
|
||||
|
@ -1077,7 +1077,7 @@
|
|||
select concat(round(round(sum(ACTIVITY_GLOBAL)/count('x'),2)*100)) from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="i2_21" resultType="java.util.Map">
|
||||
<select id="i2_21" resultType="java.util.LinkedHashMap">
|
||||
select '学生社团活动' as 'key' ,round(round(sum(ACTIVITY_SOCIETY)/count('x'),2)*100) as '01' from bl_stu_answer where main_id = #{id}
|
||||
UNION all
|
||||
select '校园文化活动' as 'key' ,round(round(sum(ACTIVITY_CULTURE)/count('x'),2)*100) as '01' from bl_stu_answer where main_id = #{id}
|
||||
|
@ -1089,7 +1089,7 @@
|
|||
select '国际交流活动' as 'key' ,round(round(sum(ACTIVITY_GLOBAL)/count('x'),2)*100) as '01' from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="i2_22" resultType="java.util.Map">
|
||||
<select id="i2_22" resultType="java.util.LinkedHashMap">
|
||||
select '国际交流活动' as 'key',
|
||||
round(round(a.fc_cnt/f.tot_cnt,2)*100) as '非常满意',
|
||||
round(round(b.bj_cnt/f.tot_cnt,2)*100) as '比较满意',
|
||||
|
@ -1166,7 +1166,7 @@
|
|||
select concat(round(avg(ACTISATI_INTERN2))) from bl_stu_answer where main_id = #{id} and ACTISATI_INTERN2 + 0 > 0
|
||||
</select>
|
||||
|
||||
<select id="i2_23" resultType="java.util.Map">
|
||||
<select id="i2_23" resultType="java.util.LinkedHashMap">
|
||||
select '各项学生发展活动满意度' as 'key', a.a as '学生社团活动',b.b as '校园文化活动',c.c as '创新创业活动',d.d as '国际交流活动',e.e as '社会实践活动' from
|
||||
(select round(avg(ACTISATI_SOCIETY2)) as a from bl_stu_answer where main_id = #{id} and ACTISATI_SOCIETY2 + 0 > 0)a,
|
||||
(select round(avg(ACTISATI_CULTURE2)) as b from bl_stu_answer where main_id = #{id} and ACTISATI_CULTURE2 + 0 > 0)b,
|
||||
|
@ -1175,7 +1175,7 @@
|
|||
(select round(avg(ACTISATI_INTERN2)) as e from bl_stu_answer where main_id = #{id} and ACTISATI_INTERN2 + 0 > 0)e
|
||||
</select>
|
||||
|
||||
<select id="t2_24" resultType="java.util.Map">
|
||||
<select id="t2_24" resultType="java.util.LinkedHashMap">
|
||||
select '学生社团活动' as 'key',a.d1 as '01',b.d2 as '02',c.d3 as '03',d.d4 as '07'
|
||||
from
|
||||
(select round(avg(ACTISATI_SOCIETY2)) as d1 from bl_stu_answer where main_id = #{id} and nianji = '大一' and ACTISATI_SOCIETY2 + 0 > 0)a,
|
||||
|
@ -1212,7 +1212,7 @@
|
|||
(select round(avg(ACTISATI_INTERN2)) as d4 from bl_stu_answer where main_id = #{id} and nianji = '大四' and ACTISATI_INTERN2 + 0 > 0 )d
|
||||
</select>
|
||||
|
||||
<select id="t2_25" resultType="java.util.Map">
|
||||
<select id="t2_25" resultType="java.util.LinkedHashMap">
|
||||
select a.MAJOR as 'key',a.d1 as '01',b.d2 as '02',c.d3 as '03',d.d4 as '04',e.d5 as '05' from
|
||||
(select major,round(avg(ACTISATI_SOCIETY2)) as d1 from bl_stu_answer where main_id = #{id} and ACTISATI_SOCIETY2 + 0 > 0 GROUP BY MAJOR)a,
|
||||
(select major,round(avg(ACTISATI_CULTURE2)) as d2 from bl_stu_answer where main_id = #{id} and ACTISATI_CULTURE2 + 0 > 0 GROUP BY MAJOR)b,
|
||||
|
@ -1225,7 +1225,7 @@
|
|||
and a.major = e.major
|
||||
</select>
|
||||
|
||||
<select id="i2_26" resultType="java.util.Map">
|
||||
<select id="i2_26" resultType="java.util.LinkedHashMap">
|
||||
select '实习实践指导情况' as 'key',
|
||||
round(round(a.fc_cnt/f.tot_cnt,2)*100) as '非常满意',
|
||||
round(round(b.bj_cnt/f.tot_cnt,2)*100) as '比较满意',
|
||||
|
@ -1295,7 +1295,7 @@
|
|||
select concat(round(round(sum(INTERN_EQUIP_SATIS2)/count('x'),2))) from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="i2_27" resultType="java.util.Map">
|
||||
<select id="i2_27" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
'本校实习实践各方面满意度' as 'key',
|
||||
round(round(sum(INTERN_CONTENT_SATIS2)/count('x'),2)) as '实习实践内容',
|
||||
|
@ -1305,7 +1305,7 @@
|
|||
from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="t2_28" resultType="java.util.Map">
|
||||
<select id="t2_28" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
major as 'key',
|
||||
round(sum(INTERN_CONTENT_SATIS2)/count('x')) as '01',
|
||||
|
@ -1315,7 +1315,7 @@
|
|||
from bl_stu_answer where main_id = #{id} GROUP BY major order by major
|
||||
</select>
|
||||
|
||||
<select id="i2_29" resultType="java.util.Map">
|
||||
<select id="i2_29" resultType="java.util.LinkedHashMap">
|
||||
select '自主学习能力提升' as 'key',
|
||||
round(round(a.fc_cnt/f.tot_cnt,2)*100) as '非常符合',
|
||||
round(round(b.bj_cnt/f.tot_cnt,2)*100) as '比较符合',
|
||||
|
@ -1402,7 +1402,7 @@
|
|||
select round(sum(ABILITY_PLAN2)/count('x'),2) from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="i2_30" resultType="java.util.Map">
|
||||
<select id="i2_30" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
'学生对学习收获的评价' as 'key',
|
||||
round(sum(ABILITY_ANALYSE2)/count('x'),2) as '分析问题、解决问题能力提升',
|
||||
|
@ -1413,7 +1413,7 @@
|
|||
from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="t2_31" resultType="java.util.Map">
|
||||
<select id="t2_31" resultType="java.util.LinkedHashMap">
|
||||
select '分析问题、解决问题能力提升' as 'key',a.d1 as '01',b.d2 as '02',c.d3 as '03',d.d4 as '04'
|
||||
from
|
||||
(select round(sum(ABILITY_ANALYSE2)/count('x'),2)as d1 from bl_stu_answer where main_id = #{id} and nianji = '大一' )a,
|
||||
|
@ -1450,7 +1450,7 @@
|
|||
(select round(sum(ABILITY_PLAN2)/count('x'),2)as d4 from bl_stu_answer where main_id = #{id} and nianji = '大四' )d
|
||||
</select>
|
||||
|
||||
<select id="t2_32" resultType="java.util.Map">
|
||||
<select id="t2_32" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
major as 'key',
|
||||
round(sum(ABILITY_ANALYSE2)/count('x'),2) as '01',
|
||||
|
@ -1461,7 +1461,7 @@
|
|||
from bl_stu_answer where main_id = #{id} GROUP BY major order by major
|
||||
</select>
|
||||
|
||||
<select id="i2_33" resultType="java.util.Map">
|
||||
<select id="i2_33" resultType="java.util.LinkedHashMap">
|
||||
select '责任担当' as 'key',
|
||||
round(round(a.fc_cnt/f.tot_cnt,2)*100) as '非常满意',
|
||||
round(round(b.bj_cnt/f.tot_cnt,2)*100) as '比较满意',
|
||||
|
@ -1582,7 +1582,7 @@
|
|||
select concat(round(round(sum(SUYANG_TISHENG2)/count('x'),2))) from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="i2_34" resultType="java.util.Map">
|
||||
<select id="i2_34" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
'学生评价核心素养满意度' as 'key',
|
||||
round(round(sum(SUYANG_RENWEN2)/count('x'),2)) as '人文底蕴',
|
||||
|
@ -1595,7 +1595,7 @@
|
|||
from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="t2_35" resultType="java.util.Map">
|
||||
<select id="t2_35" resultType="java.util.LinkedHashMap">
|
||||
select '人文底蕴' as 'key',a.d1 as '01',b.d2 as '02',c.d3 as '03',d.d4 as '04'
|
||||
from
|
||||
(select round(round(sum(SUYANG_RENWEN2)/count('x'),2))as d1 from bl_stu_answer where main_id = #{id} and nianji = '大一' )a,
|
||||
|
@ -1646,7 +1646,7 @@
|
|||
(select round(round(sum(SUYANG_TISHENG2)/count('x'),2))as d4 from bl_stu_answer where main_id = #{id} and nianji = '大四' )d
|
||||
</select>
|
||||
|
||||
<select id="t2_36" resultType="java.util.Map">
|
||||
<select id="t2_36" resultType="java.util.LinkedHashMap">
|
||||
select major as 'key',
|
||||
round(sum(SUYANG_RENWEN2)/count('x')) as '01',
|
||||
round(sum(SUYANG_KEXUE2)/count('x')) as '02',
|
||||
|
@ -1658,7 +1658,7 @@
|
|||
from bl_stu_answer where main_id = #{id} GROUP BY major order by major
|
||||
</select>
|
||||
|
||||
<select id="i3_1" resultType="java.util.Map">
|
||||
<select id="i3_1" resultType="java.util.LinkedHashMap">
|
||||
select '依法依规,履行教师职责' as 'key',
|
||||
round(round(a.fc_cnt/f.tot_cnt,2)*100) as '非常满意',
|
||||
round(round(b.bj_cnt/f.tot_cnt,2)*100) as '比较满意',
|
||||
|
@ -1728,7 +1728,7 @@
|
|||
select concat(round(round(sum(TEACHERSATI_CARE2)/count('x'),2))) from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="i3_2" resultType="java.util.Map">
|
||||
<select id="i3_2" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
'教学工作各方面满意度' as 'key',
|
||||
concat(round(round(sum(TEACHERSATI_MORAL2)/count('x'),2))) as '师德师风及精神面貌',
|
||||
|
@ -1738,7 +1738,7 @@
|
|||
from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="t3_3" resultType="java.util.Map">
|
||||
<select id="t3_3" resultType="java.util.LinkedHashMap">
|
||||
select '师德师风及精神面貌' as 'key',a.d1 as '01',b.d2 as '02',c.d3 as '03',d.d4 as '04'
|
||||
from
|
||||
(select round(round(sum(TEACHERSATI_MORAL2)/count('x'),2))as d1 from bl_stu_answer where main_id = #{id} and nianji = '大一' )a,
|
||||
|
@ -1768,7 +1768,7 @@
|
|||
(select round(round(sum(TEACHERSATI_CARE2)/count('x'),2))as d4 from bl_stu_answer where main_id = #{id} and nianji = '大四' )d
|
||||
</select>
|
||||
|
||||
<select id="t3_4" resultType="java.util.Map">
|
||||
<select id="t3_4" resultType="java.util.LinkedHashMap">
|
||||
select major as 'key',
|
||||
round(sum(TEACHERSATI_MORAL2)/count('x')) as '01',
|
||||
round(sum(TEACHERSATI_INPUT2)/count('x')) as '02',
|
||||
|
@ -1801,7 +1801,7 @@
|
|||
(select count('x') as tot_cnt from bl_stu_answer where main_id = #{id})b
|
||||
</select>
|
||||
|
||||
<select id="i3_5" resultType="java.util.Map">
|
||||
<select id="i3_5" resultType="java.util.LinkedHashMap">
|
||||
select '教学满意度' as 'key',
|
||||
round(round(a.fc_cnt/f.tot_cnt,2)*100) as '非常满意',
|
||||
round(round(b.bj_cnt/f.tot_cnt,2)*100) as '比较满意',
|
||||
|
@ -1819,11 +1819,11 @@
|
|||
select concat(round(sum(TEACHERSATI_ZONGTI2)/count(*))) from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="i3_6" resultType="java.util.Map">
|
||||
<select id="i3_6" resultType="java.util.LinkedHashMap">
|
||||
select '教学满意度' as 'key',concat(round(sum(TEACHERSATI_ZONGTI2)/count(*))) as '01' from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="t3_7" resultType="java.util.Map">
|
||||
<select id="t3_7" resultType="java.util.LinkedHashMap">
|
||||
select '教学满意度' as 'key',a.d1 as '01',b.d2 as '02',c.d3 as '03',d.d4 as '04'
|
||||
from
|
||||
(select round(sum(TEACHERSATI_ZONGTI2)/count(*))as d1 from bl_stu_answer where main_id = #{id} and nianji = '大一' )a,
|
||||
|
@ -1832,11 +1832,11 @@
|
|||
(select round(sum(TEACHERSATI_ZONGTI2)/count(*))as d4 from bl_stu_answer where main_id = #{id} and nianji = '大四' )d
|
||||
</select>
|
||||
|
||||
<select id="t3_8" resultType="java.util.Map">
|
||||
<select id="t3_8" resultType="java.util.LinkedHashMap">
|
||||
select major as 'key',round(sum(TEACHERSATI_ZONGTI2)/count(*))as '01' from bl_stu_answer where main_id = #{id} GROUP BY MAJOR
|
||||
</select>
|
||||
|
||||
<select id="i3_9" resultType="java.util.Map">
|
||||
<select id="i3_9" resultType="java.util.LinkedHashMap">
|
||||
select '清楚地向学生解释了所学课程的目标和要求' as 'key',
|
||||
round(round(a.fc_cnt/f.tot_cnt,2)*100) as '非常符合',
|
||||
round(round(b.bj_cnt/f.tot_cnt,2)*100) as '比较符合',
|
||||
|
@ -1923,7 +1923,7 @@
|
|||
select round(sum(TEACHER_AFTER2)/count('x'),2) from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="i3_10" resultType="java.util.Map">
|
||||
<select id="i3_10" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
'教师各方面教学行为评价' as 'key',
|
||||
round(sum(TEACHER_YUREN2)/count('x'),2) as '重视立德树人,注重发挥课程育人的作用',
|
||||
|
@ -1934,7 +1934,7 @@
|
|||
from bl_stu_answer where main_id = #{id};
|
||||
</select>
|
||||
|
||||
<select id="t3_11" resultType="java.util.Map">
|
||||
<select id="t3_11" resultType="java.util.LinkedHashMap">
|
||||
select '重视立德树人,注重发挥课程育人的作用' as 'key',a.d1 as '01',b.d2 as '02',c.d3 as '03',d.d4 as '04' from
|
||||
(select round(sum(TEACHER_YUREN2)/count('x'),2)as d1 from bl_stu_answer where main_id = #{id} and nianji = '大一' )a,
|
||||
(select round(sum(TEACHER_YUREN2)/count('x'),2)as d2 from bl_stu_answer where main_id = #{id} and nianji = '大二' )b,
|
||||
|
@ -1966,7 +1966,7 @@
|
|||
(select round(sum(TEACHER_AFTER2)/count('x'),2)as d4 from bl_stu_answer where main_id = #{id} and nianji = '大四' )d
|
||||
</select>
|
||||
|
||||
<select id="t3_12" resultType="java.util.Map">
|
||||
<select id="t3_12" resultType="java.util.LinkedHashMap">
|
||||
select major as 'key',
|
||||
round(sum(TEACHER_YUREN2)/count('x'),2) as '01',
|
||||
round(sum(TEACHER_OBJECT2)/count('x'),2) as '02',
|
||||
|
@ -1976,7 +1976,7 @@
|
|||
from bl_stu_answer where main_id = #{id} GROUP BY major order by major
|
||||
</select>
|
||||
|
||||
<select id="i4_1" resultType="java.util.Map">
|
||||
<select id="i4_1" resultType="java.util.LinkedHashMap">
|
||||
select '校内学术讲座报告活动多' as 'key',
|
||||
round(round(a.fc_cnt/f.tot_cnt,2)*100) as '非常符合',
|
||||
round(round(b.bj_cnt/f.tot_cnt,2)*100) as '比较符合',
|
||||
|
@ -2046,7 +2046,7 @@
|
|||
select round(sum(STUDENTCENTER_LECTURE2)/count('x'),2) from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="i4_2" resultType="java.util.Map">
|
||||
<select id="i4_2" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
'本校体现“学生中心”和安全管理评价各项占比' as 'key',
|
||||
round(sum(STUDENTCENTER_STUDENT2)/count('x'),2) as '学生服务能够做到“一站式”的服务与解决,体现了对学生的关怀',
|
||||
|
@ -2056,7 +2056,7 @@
|
|||
from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="t4_3" resultType="java.util.Map">
|
||||
<select id="t4_3" resultType="java.util.LinkedHashMap">
|
||||
select '学生服务能够做到“一站式”的服务与解决,体现了对学生的关怀' as 'key',a.d1 as '01',b.d2 as '02',c.d3 as '03',d.d4 as '04' from
|
||||
(select round(sum(STUDENTCENTER_STUDENT2)/count('x'),2)as d1 from bl_stu_answer where main_id = #{id} and nianji = '大一' )a,
|
||||
(select round(sum(STUDENTCENTER_STUDENT2)/count('x'),2)as d2 from bl_stu_answer where main_id = #{id} and nianji = '大二' )b,
|
||||
|
@ -2082,7 +2082,7 @@
|
|||
(select round(sum(STUDENTCENTER_LECTURE2)/count('x'),2)as d4 from bl_stu_answer where main_id = #{id} and nianji = '大四' )d
|
||||
</select>
|
||||
|
||||
<select id="t4_4" resultType="java.util.Map">
|
||||
<select id="t4_4" resultType="java.util.LinkedHashMap">
|
||||
select major as 'key',
|
||||
round(sum(STUDENTCENTER_STUDENT2)/count('x'),2) as '01',
|
||||
round(sum(STUDENTCENTER_EXPERIMENT2)/count('x'),2) as '02',
|
||||
|
@ -2115,7 +2115,7 @@
|
|||
select concat(round(round(b.no_cnt/a.tot_cnt,2)*100)) from (select count('x') as tot_cnt from bl_stu_answer where main_id = #{id})a,(select count('x') as no_cnt from bl_stu_answer where main_id = #{id} and XYZD_NO = #{id})b
|
||||
</select>
|
||||
|
||||
<select id="i4_5" resultType="java.util.Map">
|
||||
<select id="i4_5" resultType="java.util.LinkedHashMap">
|
||||
select '学校或学院提供的辅导课程或相关活动' as 'key' ,round(round(b.no_cnt/a.tot_cnt,2)*100) as '01' from (select count('x') as tot_cnt from bl_stu_answer where main_id = #{id})a,(select count('x') as no_cnt from bl_stu_answer where main_id = #{id} and XYZD_KECHENG = #{id})b
|
||||
union all
|
||||
select '任课教师帮助解决相关问题' as 'key' ,round(round(b.no_cnt/a.tot_cnt,2)*100) as '01' from (select count('x') as tot_cnt from bl_stu_answer where main_id = #{id})a,(select count('x') as no_cnt from bl_stu_answer where main_id = #{id} and XYZD_JIAOSHI = #{id})b
|
||||
|
@ -2129,7 +2129,7 @@
|
|||
select '没有接受过本校提供的学业指导服务' as 'key' ,round(round(b.no_cnt/a.tot_cnt,2)*100) as '01' from (select count('x') as tot_cnt from bl_stu_answer where main_id = #{id})a,(select count('x') as no_cnt from bl_stu_answer where main_id = #{id} and XYZD_NO = #{id})b
|
||||
</select>
|
||||
|
||||
<select id="t4_6" resultType="java.util.Map">
|
||||
<select id="t4_6" resultType="java.util.LinkedHashMap">
|
||||
select '学校或学院提供的辅导课程或相关活动' as 'key',a.d1 as '01',b.d2 as '02',c.d3 as '03',d.d4 as '04' from
|
||||
(select round(round(sum(XYZD_KECHENG)/count('x'),2)*100)as d1 from bl_stu_answer where main_id = #{id} and nianji = '大一' )a,
|
||||
(select round(round(sum(XYZD_KECHENG)/count('x'),2)*100)as d2 from bl_stu_answer where main_id = #{id} and nianji = '大二' )b,
|
||||
|
@ -2167,7 +2167,7 @@
|
|||
(select round(round(sum(XYZD_NO)/count('x'),2)*100)as d4 from bl_stu_answer where main_id = #{id} and nianji = '大四' )d
|
||||
</select>
|
||||
|
||||
<select id="t4_7" resultType="java.util.Map">
|
||||
<select id="t4_7" resultType="java.util.LinkedHashMap">
|
||||
select major as 'key',
|
||||
round(round(sum(XYZD_KECHENG)/count('x'),2)*100) as '01',
|
||||
round(round(sum(XYZD_WANGZHAN)/count('x'),2)*100) as '02',
|
||||
|
@ -2178,7 +2178,7 @@
|
|||
from bl_stu_answer where main_id = #{id} GROUP BY major order by major
|
||||
</select>
|
||||
|
||||
<select id="i4_8" resultType="java.util.Map">
|
||||
<select id="i4_8" resultType="java.util.LinkedHashMap">
|
||||
select '班主任、辅导员工作' as 'key',
|
||||
round(round(a.fc_cnt/f.tot_cnt,2)*100) as '非常满意',
|
||||
round(round(b.bj_cnt/f.tot_cnt,2)*100) as '比较满意',
|
||||
|
@ -2265,7 +2265,7 @@
|
|||
select concat(round(round(sum(STUSATI_ZZ2)/count('x'),2))) from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="i4_9" resultType="java.util.Map">
|
||||
<select id="i4_9" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
'各项学生工作满意度' as 'key',
|
||||
round(round(sum(STUSATI_PHYCHO2)/count('x'),2)) as '心理健康教育/咨询',
|
||||
|
@ -2276,7 +2276,7 @@
|
|||
from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="t4_10" resultType="java.util.Map">
|
||||
<select id="t4_10" resultType="java.util.LinkedHashMap">
|
||||
select '心理健康教育/咨询' as 'key',a.d1 as '01',b.d2 as '02',c.d3 as '03',d.d4 as '04' from
|
||||
(select round(round(sum(STUSATI_PHYCHO2)/count('x'),2))as d1 from bl_stu_answer where main_id = #{id} and nianji = '大一' )a,
|
||||
(select round(round(sum(STUSATI_PHYCHO2)/count('x'),2))as d2 from bl_stu_answer where main_id = #{id} and nianji = '大二' )b,
|
||||
|
@ -2308,7 +2308,7 @@
|
|||
(select round(round(sum(STUSATI_ZZ2)/count('x'),2))as d4 from bl_stu_answer where main_id = #{id} and nianji = '大四' )d
|
||||
</select>
|
||||
|
||||
<select id="t4_11" resultType="java.util.Map">
|
||||
<select id="t4_11" resultType="java.util.LinkedHashMap">
|
||||
select major as 'key',
|
||||
round(sum(STUSATI_PHYCHO2)/count('x')) as '01',
|
||||
round(sum(STUSATI_PLAN2)/count('x')) as '02',
|
||||
|
@ -2318,7 +2318,7 @@
|
|||
from bl_stu_answer where main_id = #{id} GROUP BY major order by major
|
||||
</select>
|
||||
|
||||
<select id="i4_12" resultType="java.util.Map">
|
||||
<select id="i4_12" resultType="java.util.LinkedHashMap">
|
||||
select '图书馆资源' as 'key',
|
||||
round(round(a.fc_cnt/f.tot_cnt,2)*100) as '非常满意',
|
||||
round(round(b.bj_cnt/f.tot_cnt,2)*100) as '比较满意',
|
||||
|
@ -2422,7 +2422,7 @@
|
|||
select concat(round(round(sum(CAMPUS_RESIDENCE2)/count('x'),2))) from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="i4_13" resultType="java.util.Map">
|
||||
<select id="i4_13" resultType="java.util.LinkedHashMap">
|
||||
select
|
||||
'key' as 'key',
|
||||
round(round(sum(CAMPUS_EQUIPMENT2)/count('x'),2)) as '教室及教学设备',
|
||||
|
@ -2434,7 +2434,7 @@
|
|||
from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="t4_14" resultType="java.util.Map">
|
||||
<select id="t4_14" resultType="java.util.LinkedHashMap">
|
||||
select '教室及教学设备' as 'key',a.d1 as '01',b.d2 as '02',c.d3 as '03',d.d4 as '04' from
|
||||
(select round(round(sum(CAMPUS_EQUIPMENT2)/count('x'),2))as d1 from bl_stu_answer where main_id = #{id} and nianji = '大一' )a,
|
||||
(select round(round(sum(CAMPUS_EQUIPMENT2)/count('x'),2))as d2 from bl_stu_answer where main_id = #{id} and nianji = '大二' )b,
|
||||
|
@ -2472,7 +2472,7 @@
|
|||
(select round(round(sum(CAMPUS_RESIDENCE2)/count('x'),2))as d4 from bl_stu_answer where main_id = #{id} and nianji = '大四' )d
|
||||
</select>
|
||||
|
||||
<select id="t4_15" resultType="java.util.Map">
|
||||
<select id="t4_15" resultType="java.util.LinkedHashMap">
|
||||
select major as 'key',
|
||||
round(sum(CAMPUS_EQUIPMENT2)/count('x')) as '01',
|
||||
round(sum(CAMPUS_LAB2)/count('x')) as '02',
|
||||
|
@ -2507,7 +2507,7 @@
|
|||
(select count('x') as tot_cnt from bl_stu_answer where main_id = #{id})b
|
||||
</select>
|
||||
|
||||
<select id="i5_1" resultType="java.util.Map">
|
||||
<select id="i5_1" resultType="java.util.LinkedHashMap">
|
||||
select '教学满意度' as 'key',
|
||||
round(round(a.fc_cnt/f.tot_cnt,2)*100) as '非常满意',
|
||||
round(round(b.bj_cnt/f.tot_cnt,2)*100) as '比较满意',
|
||||
|
@ -2525,11 +2525,11 @@
|
|||
select concat(round(sum(SATI_ZONGTI2)/count(*))) from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="i5_2" resultType="java.util.Map">
|
||||
<select id="i5_2" resultType="java.util.LinkedHashMap">
|
||||
select '总体满意度',round(sum(SATI_ZONGTI2)/count(*)) as '01' from bl_stu_answer where main_id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="t5_3" resultType="java.util.Map">
|
||||
<select id="t5_3" resultType="java.util.LinkedHashMap">
|
||||
select '对学校的总体满意度' as 'key',a.d1 as '01',b.d2 as '02',c.d3 as '03',d.d4 as '04'
|
||||
from
|
||||
(select round(sum(SATI_ZONGTI2)/count(*))as d1 from bl_stu_answer where main_id = #{id} and nianji = '大一' )a,
|
||||
|
@ -2538,7 +2538,7 @@
|
|||
(select round(sum(SATI_ZONGTI2)/count(*))as d4 from bl_stu_answer where main_id = #{id} and nianji = '大四' )d
|
||||
</select>
|
||||
|
||||
<select id="t5_4" resultType="java.util.Map">
|
||||
<select id="t5_4" resultType="java.util.LinkedHashMap">
|
||||
select major as 'key',round(sum(SATI_ZONGTI2)/count(*)) as '01' from bl_stu_answer where main_id = #{id} GROUP BY MAJOR
|
||||
</select>
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -76,4 +76,15 @@ public class BlStuInfo implements Serializable {
|
|||
@Excel(name = "教师总人数", width = 15)
|
||||
@ApiModelProperty(value = "学生总人数")
|
||||
private java.lang.String stuSumno;
|
||||
|
||||
/**最小样本数*/
|
||||
@Excel(name = "最小样有效本数", width = 15)
|
||||
@ApiModelProperty(value = "最小样有效本数")
|
||||
private Integer minNum;
|
||||
|
||||
/**附件*/
|
||||
@Excel(name = "附件", width = 15)
|
||||
@ApiModelProperty(value = "附件")
|
||||
private java.lang.String filePath;
|
||||
|
||||
}
|
||||
|
|
|
@ -74,12 +74,14 @@ public class WebDriverUtil {
|
|||
var file = new File(currentDir + File.separator + "applicationTemp");
|
||||
var tempFile = new File(file.getPath() + File.separator + path);
|
||||
if(!tempFile.exists()){
|
||||
log.info("往缓存写入jar包里的资源:{}",tempFile.getPath());
|
||||
var is = ResourceUtil.getStream(path);
|
||||
var out = FileUtil.getOutputStream(tempFile);
|
||||
IoUtil.copy(is, out);
|
||||
|
||||
IoUtil.close(is);
|
||||
IoUtil.close(out);
|
||||
} else {
|
||||
log.info("缓存文件【{}】已存在资源,如果源码中有变更,请删除“applicationTemp文件夹”",tempFile.getPath());
|
||||
}
|
||||
return tempFile;
|
||||
}
|
||||
|
@ -109,7 +111,7 @@ public class WebDriverUtil {
|
|||
try {
|
||||
driver = getWebDriver();
|
||||
//访问网址
|
||||
log.info("往缓存写入jar包里的资源");
|
||||
//往缓存写入jar包里的资源
|
||||
//把js拉过来
|
||||
getUrl(global.getConfig("webDriver.webHTMLPath") + "/echarts.min.js");
|
||||
if(StringUtils.isNotBlank(path)){
|
||||
|
|
|
@ -172,12 +172,10 @@ public class WordOperator {
|
|||
// run.addPicture(is,res,picPath,width, height);
|
||||
IoUtil.close(is);
|
||||
} catch (InvalidFormatException e) {
|
||||
logger.error(e.toString());
|
||||
e.printStackTrace();
|
||||
logger.error(e.getMessage(),e);
|
||||
} catch (IOException e) {
|
||||
logger.error("没有找到相应的文件!");
|
||||
logger.error(e.toString());
|
||||
e.printStackTrace();
|
||||
logger.error(e.getMessage(),e);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -944,7 +942,7 @@ public class WordOperator {
|
|||
//染上背景色
|
||||
// r.getCTR().addNewRPr().addNewHighlight().setVal(STHighlightColor.YELLOW);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
logger.error(e.getMessage(),e);
|
||||
r.setText("", 0);
|
||||
}
|
||||
return;
|
||||
|
@ -970,7 +968,7 @@ public class WordOperator {
|
|||
//染上背景色
|
||||
// r.getCTR().addNewRPr().addNewHighlight().setVal(STHighlightColor.YELLOW);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
logger.error(e.getMessage(),e);
|
||||
r.setText("", 0);
|
||||
}
|
||||
return;
|
||||
|
@ -1018,6 +1016,7 @@ public class WordOperator {
|
|||
//染上背景色
|
||||
// r.getCTR().addNewRPr().addNewHighlight().setVal(STHighlightColor.YELLOW);
|
||||
} catch (Exception e) {
|
||||
logger.error(e.getMessage(),e);
|
||||
r.setText("", 0);
|
||||
}
|
||||
|
||||
|
@ -1243,7 +1242,7 @@ public class WordOperator {
|
|||
w2o = twoReplaceWord(wo);
|
||||
w2o.replaceTextPlus(result);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
logger.error(e.getMessage(),e);
|
||||
}
|
||||
//再次替换
|
||||
return w2o;
|
||||
|
|
Loading…
Reference in New Issue