heheng
2025-11-20 5b60b28f6c9556ad438f55fe57c8d3edc32716ae
multi-system/src/main/java/com/gkhy/exam/system/service/impl/QualitySystemPlanServiceImpl.java
@@ -33,7 +33,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 +79,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);
    }
}