package com.njcn.process.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.process.pojo.param.SupvPlanParam;
import com.njcn.process.pojo.po.SupvPlan;
import com.njcn.process.pojo.po.SupvPlanRel;
import com.njcn.process.pojo.vo.SupvPlanVO;
import liquibase.pro.packaged.S;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hongawen
 * @since 2023-06-21
 */
public interface ISupvPlanService extends IService<SupvPlan> {

    /**
     * 新增技术监督
     * @author cdf
     * @date 2023/6/21
     */
    boolean addPlan(SupvPlanParam supvPlanParam);

    /**
     * 修改技术监督
     * @author cdf
     * @date 2023/6/21
     */
    boolean updatePlan(SupvPlanParam.UpdateSupvPlanParam supvPlanParam);

    /**
     * 删除技术监督
     * @author cdf
     * @date 2023/6/21
     */
    boolean delPlan(List<String> planIds);

    /**
     * 分页查询技术监督
     * @author cdf
     * @date 2023/6/21
     */
    Page<SupvPlanVO> pagePlan(SupvPlanParam supvPlanParam);



    boolean saveOrUpdatePlanRel(SupvPlanRel supvPlanRel);

    boolean delPlanRel(List<String> planRelIds);


    List<SupvPlanRel> planList(SupvPlanRel supvPlanRel);


}
