package cn.estsh.i3plus.ext.mes.pcn.api.base;

import cn.estsh.i3plus.ext.mes.pcn.pojo.bean.MesFailCaseCheckDetail;
import cn.estsh.i3plus.pojo.base.bean.ListPager;
import cn.estsh.i3plus.pojo.base.common.Pager;
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCell;

import java.util.List;

/**
 * @author yumingxing
 * @version 1.0
 * @date 2021/2/5 15:41
 **/
public interface IFailCaseCheckDetailService {
    /**
     * 新增
     *
     * @param detail
     * @return
     */
    MesFailCaseCheckDetail insert(MesFailCaseCheckDetail detail);

    /**
     * 修改
     *
     * @param detail
     * @return
     */
    void update(MesFailCaseCheckDetail detail);

    /**
     * 查询
     *
     * @param detail
     * @param pager
     * @return
     */
    ListPager<MesFailCaseCheckDetail> queryByPager(MesFailCaseCheckDetail detail, Pager pager);


    List<MesWorkCell> queryCell(MesFailCaseCheckDetail detail);
}
