From ad53b77262a24237e86cfe7c45d30ad7ce61a026 Mon Sep 17 00:00:00 2001 From: "jiakun.lin" Date: Wed, 17 Mar 2021 15:28:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AchievementManagementServiceImpl.java | 32 ++++++++++++++++--- 1 file changed, 28 insertions(+), 4 deletions(-) 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 69853a1..d9ce9f2 100644 --- a/src/main/java/com/msdw/tms/service/impl/AchievementManagementServiceImpl.java +++ b/src/main/java/com/msdw/tms/service/impl/AchievementManagementServiceImpl.java @@ -7,10 +7,7 @@ import com.msdw.tms.common.utils.Constant; import com.msdw.tms.common.utils.PageUtils; import com.msdw.tms.common.utils.R; import com.msdw.tms.common.utils.poi.ExcelExportUtil; -import com.msdw.tms.dao.AchievementManagementDao; -import com.msdw.tms.dao.ExperimentalTeachingDao; -import com.msdw.tms.dao.ProjectRecordDao; -import com.msdw.tms.dao.UserInfoDao; +import com.msdw.tms.dao.*; import com.msdw.tms.entity.*; import com.msdw.tms.entity.request.AchievementImportRequest; import com.msdw.tms.entity.request.ImportAssessmentRequest; @@ -46,6 +43,9 @@ public class AchievementManagementServiceImpl extends ServiceImpl projectIds, Integer projectPermissions, List ids) { + + ProjectHiddenEntity projectHiddenEntity = new ProjectHiddenEntity(); + //projectHiddenEntity.setId(null); + int num = 0; + if (projectPermissions == 1) {//实验教学 for (Integer id : ids) { List teachAchievements = achievementManagementDao.getTeachAchievement(id); @@ -335,6 +340,15 @@ public class AchievementManagementServiceImpl extends ServiceImpl