package com.yuchen.saas.park.service.service.work;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuchen.saas.park.api.dto.work.SaasWorkOrderAutoDispatchDto;
import com.yuchen.saas.park.api.entity.work.SaasWorkOrderAutoDispatch;
import com.yuchen.saas.park.api.vo.work.SaasWorkOrderAutoDispatchVo;

import java.util.List;

/**
 * <p>
 * 自动派工设置表 服务类
 * </p>
 *
 * @author caiwq
 * @since 2024-10-12
 */
public interface ISaasWorkOrderAutoDispatchService extends IService<SaasWorkOrderAutoDispatch> {
    Boolean add(List<SaasWorkOrderAutoDispatchDto> autoDispatchDtoList);

    List<SaasWorkOrderAutoDispatchVo> getDetail(Long customerId);

    SaasWorkOrderAutoDispatchVo getAutoDispatchUsers(Long repairTypeId);

    Boolean getIsOpenAutoDispatch(Integer workOrderCategory, Long customerId);
}
