From ebeb57f112059beffa85383e0c6a0d4cea2f274d Mon Sep 17 00:00:00 2001 From: wxy <1229384355@qq.com> Date: Mon, 25 Jul 2022 11:58:30 +0800 Subject: [PATCH] 详情添加学校名称、入学日期等字段,修复数据分析监护人、部分户号、人员编号数据为空的情况 --- juvenile-prosecution-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/controller/AnalyzeController.java | 20 ++++++++++++++------ juvenile-prosecution-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/entity/Minor.java | 1 + juvenile-prosecution-vue/src/views/business/MinorList.vue | 30 ++++++++++-------------------- 3 files changed, 25 insertions(+), 26 deletions(-) diff --git a/juvenile-prosecution-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/controller/AnalyzeController.java b/juvenile-prosecution-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/controller/AnalyzeController.java index 5f3e9f9..633f66e 100644 --- a/juvenile-prosecution-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/controller/AnalyzeController.java +++ b/juvenile-prosecution-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/controller/AnalyzeController.java @@ -74,13 +74,12 @@ public class AnalyzeController extends JeecgController resultSchools = new ArrayList<>();//分析后学籍的信息 private static final int corePoolSize = Runtime.getRuntime().availableProcessors(); private static final ThreadPoolExecutor executor = new ThreadPoolExecutor(corePoolSize, corePoolSize + 1, 10L, TimeUnit.SECONDS, new LinkedBlockingQueue(1000)); - private String random_number="00000000"; @AutoLog(value = "来源数据管理-分页列表查询") @ApiOperation(value = "来源数据管理-分页列表查询", notes = "来源数据管理-分页列表查询") @PutMapping(value = "/doAnalyzeData") - public Result doAnalyzeData() { + public void doAnalyzeData() { try { System.out.println("开始数据分析"); long startTime = System.currentTimeMillis(); @@ -103,11 +102,11 @@ public class AnalyzeController extends JeecgController - {{ info.householdNum }} - {{ info.number }} {{ info.name }} {{ info.gender_dictText }} {{ getAgeByIdentity(info.identity) }} {{ info.identity }} - {{ info.address }} + {{ info.schoolName }} + {{ info.startYear }} + {{ info.school_dictText }} + {{ info.address }} {{ info.school_dictText }} {{ info.schoolName }} {{ info.guardian }} {{ info.relation }} - {{ info.reason_dictText }} + {{ info.reason_dictText }} + {{ info.specialReason }} {{ info.remark }} @@ -180,31 +182,19 @@ export default { dataIndex: 'identity' }, { - title: '监护人关系', - align: 'center', - dataIndex: 'relation' - }, - { title: '监护人', align: 'center', dataIndex: 'guardian' }, { - title: '重点关注原因', - align: 'center', - dataIndex: 'reason_dictText' - }, - { - title: '特殊原因', + title: '监护人关系', align: 'center', - dataIndex: 'specialReason', - scopedSlots: { customRender: 'longText' } + dataIndex: 'relation' }, { - title: '备注', + title: '重点关注原因', align: 'center', - dataIndex: 'remark', - scopedSlots: { customRender: 'longText' } + dataIndex: 'reason_dictText' }, { title: '操作', -- libgit2 0.21.4