package com.ho.business.service;

import com.ho.business.entity.OneClickSequentialControl;
import com.ho.business.vo.req.oneClickSequentialControl.OneClickSequentialControlAddReq;
import com.ho.business.vo.req.oneClickSequentialControl.OneClickSequentialControlQueryReq;
import com.ho.business.vo.resp.oneClickSequentialControl.OneClickSequentialControlResp;

import java.util.List;

public interface OneClickSequentialControlService {


    /**
     * 根据条件查询一键顺控配置
     * @param vo
     * @return
     */
    List<OneClickSequentialControl> getListByParam(OneClickSequentialControlQueryReq vo,String type);


    /**
     * 根据条件查询一键顺控配置
     * @param vo
     * @return
     */
    List<OneClickSequentialControlResp> getGroupList(OneClickSequentialControlQueryReq vo);

    /**
     * 批量新增一键顺控配置
     * @param vo
     * @return
     */
    int addBatch(OneClickSequentialControlAddReq vo);


    /**
     * 批量更新
     * @param vo
     * @return
     */
    int updateBatch(OneClickSequentialControlAddReq vo);


    /**
     * 批量删除
     * @param ids
     * @return
     */
    int deleteByIds(List<Integer> ids);
}
