heheng
8 天以前 7f89db04cc75a842352087099ee6a7431b7357e0
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);
    }
}