From b0be631d7800b2a35c4dfeb9332877946e361829 Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: Tue, 28 Apr 2026 17:18:56 +0800
Subject: [PATCH] 新增功能
---
multi-system/src/main/java/com/gkhy/exam/system/service/impl/QualitySystemPlanServiceImpl.java | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/QualitySystemPlanServiceImpl.java b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/QualitySystemPlanServiceImpl.java
index 8e2ae9f..dfa1fdf 100644
--- a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/QualitySystemPlanServiceImpl.java
+++ b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/QualitySystemPlanServiceImpl.java
@@ -4,7 +4,6 @@
import com.gkhy.exam.common.api.CommonPage;
import com.gkhy.exam.common.api.CommonResult;
import com.gkhy.exam.common.exception.ApiException;
-import com.gkhy.exam.common.utils.PageUtils;
import com.gkhy.exam.common.utils.SecurityUtils;
import com.gkhy.exam.system.domain.QualitySystemPlan;
import com.gkhy.exam.system.domain.QualitySystemPlanMess;
@@ -33,7 +32,6 @@
throw new ApiException("非管理员操作,企业id不可为空");
}
}
- PageUtils.startPage();
List<QualitySystemPlan> qualitySystemPlans = qualitySystemPlanMapper.selectSystemPlanList(qualitySystemPlan);
for (QualitySystemPlan systemPlan : qualitySystemPlans) {
List<QualitySystemPlanMess> qualitySystemPlanMesses = qualitySystemPlanMessMapper.selectByPlanId(systemPlan.getId());
@@ -80,4 +78,12 @@
qualitySystemPlanMapper.updateById(qualitySystemPlan);
return CommonResult.success();
}
+
+ @Override
+ public CommonResult listQualitySystemPlanByid(Integer planId) {
+ QualitySystemPlan qualitySystemPlan = qualitySystemPlanMapper.selectListById(planId);
+ List<QualitySystemPlanMess> qualitySystemPlanMesses = qualitySystemPlanMessMapper.selectByPlanId(planId);
+ qualitySystemPlan.setPlanMesses(qualitySystemPlanMesses);
+ return CommonResult.success(qualitySystemPlan);
+ }
}
--
Gitblit v1.9.2