package cn.ezhizao.project.business.service;

import cn.ezhizao.project.business.domain.BizDayworkCarrier;
import cn.ezhizao.project.business.domain.BizOutsourcedOrderDetail;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 报工载具中间表Service接口
 *
 * @author ezhizao
 * @date 2023-12-04
 */
public interface IBizDayworkCarrierService extends IService<BizDayworkCarrier>
{
    /**
     * 查询报工载具中间表列表
     *
     * @param bizDayworkCarrier 报工载具中间表
     * @return 报工载具中间表集合
     */
    public List<BizDayworkCarrier> getList(BizDayworkCarrier bizDayworkCarrier);

    /**
     * 物理删除
     * @param bizDayworkCarrier
     * @return 删除结果
     */
    public int physicalDelete(BizDayworkCarrier bizDayworkCarrier);

    int removeByDayworkIds(List<Long> ids);

    void updateByDayworkIds(List<BizOutsourcedOrderDetail> orderDetails);
}
