From 624b42785393140cb91c3c4edf605581c809315d Mon Sep 17 00:00:00 2001 From: "rong.liu" Date: Fri, 5 Mar 2021 14:07:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=90=E7=BB=A9=E5=AF=BC=E5=87=BA=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entity/request/AchievementImportRequest.java | 12 ++++++------ .../impl/AchievementManagementServiceImpl.java | 2 +- ...成绩管理实验记录导出模板 (1).xlsx | Bin 0 -> 8911 bytes 3 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 src/main/resources/excel-template/川大成绩管理实验记录导出模板 (1).xlsx diff --git a/src/main/java/com/msdw/tms/entity/request/AchievementImportRequest.java b/src/main/java/com/msdw/tms/entity/request/AchievementImportRequest.java index eb3bf1f..8c4751f 100644 --- a/src/main/java/com/msdw/tms/entity/request/AchievementImportRequest.java +++ b/src/main/java/com/msdw/tms/entity/request/AchievementImportRequest.java @@ -15,24 +15,24 @@ public class AchievementImportRequest { @ExcelAttribute(sort = 0) private String schoolName; - //实验班级 + /* //实验班级 @ExcelAttribute(sort = 1) - private String experimentalClassName; + private String experimentalClassName;*/ //学生姓名 - @ExcelAttribute(sort = 2) + @ExcelAttribute(sort = 1) private String userName; //学号 - @ExcelAttribute(sort = 3) + @ExcelAttribute(sort = 2) private String workNumber; //分数 - @ExcelAttribute(sort = 4) + @ExcelAttribute(sort = 3) private String score; //提交时间 - @ExcelAttribute(sort = 5) + @ExcelAttribute(sort = 4) private String submitTime; } diff --git a/src/main/java/com/msdw/tms/service/impl/AchievementManagementServiceImpl.java b/src/main/java/com/msdw/tms/service/impl/AchievementManagementServiceImpl.java index bfc6608..7eae17b 100644 --- a/src/main/java/com/msdw/tms/service/impl/AchievementManagementServiceImpl.java +++ b/src/main/java/com/msdw/tms/service/impl/AchievementManagementServiceImpl.java @@ -199,7 +199,7 @@ public class AchievementManagementServiceImpl extends ServiceImpl achievement = achievementManagementDao.queryAchievement(list); //2.加载模板流数据 - ClassPathResource resource = new ClassPathResource("excel-template/川大成绩管理实验记录导出模板.xlsx"); + ClassPathResource resource = new ClassPathResource("excel-template/川大成绩管理实验记录导出模板 (1).xlsx"); InputStream inputStream = resource.getInputStream(); //3、通过工具类下载文件 diff --git a/src/main/resources/excel-template/川大成绩管理实验记录导出模板 (1).xlsx b/src/main/resources/excel-template/川大成绩管理实验记录导出模板 (1).xlsx new file mode 100644 index 0000000000000000000000000000000000000000..d5a57eb63313a93438e18d54e88a29af4c78e192 GIT binary patch literal 8911 zcmaJ{1yG#J(p}sM5ZocSI|K;siwD=B!QF!e_u%fXAwh$?dvJGmclaTB_vR+={%@*Q zYO8yC=FD_|UFWPU5DXj^@I3sbSNNVk{~9n)U-T{YWNj?1Z0Tj6%ut_xfc{}t$39)k z00IE8fC2zW|1{IFvZ8Y`H%p0VkpN>v6~6R(L@KjnrX`kVqVx*jf>N``W44@WmPCo% z9KNBYvm?5KvN*F;xPxbYIb86~#!>rVz3~(}%`!2uV#<EHBDh1P0RpXs-0SK_xXT zi~@#2iqh1SFi#!Yj_%^pX}JXK6E)#qZw>!{{~Ws_8)C-1js}V%nW@zEPpCoi1;$ zKKPa|bMb;r&ufb9doR%rs>vF?fw^JR;>lT4gWSTloslTbX_=bq_&&Tl197%;e|@}v zPDi&)bF*C%*S00Q3&yw&CbtJ!=hcoJs@a;;iQVd~DE7$%Ami8kMzB?iBbXJCnCdkPwNhFSQE!>&t1siuX$bUzS;L!O4vUsgQs}kEa_$-94_Q6ohwH2mVEwhPk!PWCf%oN|x^+IC^AOl_4NZlN zyDa`nUy7lORpeLW$O0VpS9h&(%%<>wGJ1dqIoXX1NN;?laD2_sIN#P|T! zxZ5jU{l(wWPXaEIJwBoC`E&v=e?#Bi*3Q!W$Mp{HvG8Viy52E2FJdn{1toC8iKxQO zYK?NTr(fxzkZ^aiRpjq9P0DfZ)w$Nnh;C{%IxD}5&pGuTfyj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