package com.yeejoin.equipmanage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yeejoin.amos.feign.privilege.model.AgencyUserModel;
import com.yeejoin.equipmanage.common.entity.Repair;
import com.yeejoin.equipmanage.common.entity.RepairDetail;

import java.util.List;

/**
 * 服务类
 *
 * @author wujiang
 * @date 2020-07-15
 */
public interface IRepairService extends IService<Repair> {

	Repair exec(List<RepairDetail> list, String type, AgencyUserModel agencyUserModel) throws Exception;

	Repair complete(List<RepairDetail> list, String type);
}
