“djh”
2025-12-22 ab0682fb16c1cd1d1f1b054184296bbaae158d2b
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);
    }
}