|  |  | 
 |  |  |  | 
 |  |  | import com.doumee.core.model.PageData; | 
 |  |  | import com.doumee.core.model.PageWrap; | 
 |  |  | import com.doumee.dao.business.dto.DispatchUnitAuditDTO; | 
 |  |  | import com.doumee.dao.business.dto.DispatchUnitQueryDTO; | 
 |  |  | import com.doumee.dao.business.dto.SaveDispatchUnitDTO; | 
 |  |  | import com.doumee.dao.business.model.DispatchUnit; | 
 |  |  | import java.util.List; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * 派遣单位信息表Service定义 | 
 |  |  |  * @author 江蹄蹄 | 
 |  |  |  * @date 2024/01/15 15:07 | 
 |  |  |  * @date 2024/01/16 10:03 | 
 |  |  |  */ | 
 |  |  | public interface DispatchUnitService { | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 创建 | 
 |  |  |      *  | 
 |  |  |      * @param dispatchUnit 实体对象 | 
 |  |  |      * @param saveDispatchUnitDTO 实体对象 | 
 |  |  |      * @return Integer | 
 |  |  |      */ | 
 |  |  |     Integer create(DispatchUnit dispatchUnit); | 
 |  |  |     Integer create(SaveDispatchUnitDTO saveDispatchUnitDTO); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 更新 | 
 |  |  |      * @param saveDispatchUnitDTO | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     Integer editDispatchUnit(SaveDispatchUnitDTO saveDispatchUnitDTO); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 添加工种 | 
 |  |  |      * @param saveDispatchUnitDTO | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     Integer createSolution(SaveDispatchUnitDTO saveDispatchUnitDTO); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 派遣单位审批/工种审批 | 
 |  |  |      * @param dispatchUnitAuditDTO | 
 |  |  |      */ | 
 |  |  |     void auditData(DispatchUnitAuditDTO dispatchUnitAuditDTO); | 
 |  |  |     /** | 
 |  |  |      * 主键删除 | 
 |  |  |      * | 
 |  |  | 
 |  |  |      * @return long | 
 |  |  |      */ | 
 |  |  |     long count(DispatchUnit dispatchUnit); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 查询详情信息 | 
 |  |  |      * @param id | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     DispatchUnit detailById(Integer id); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据条件查询派遣单位信息 | 
 |  |  |      * @param dispatchUnitQueryDTO | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     List<DispatchUnit> findByDTO(DispatchUnitQueryDTO dispatchUnitQueryDTO); | 
 |  |  |  | 
 |  |  |     Integer check(DispatchUnit param); | 
 |  |  |  | 
 |  |  |     Integer checkWorktype(DispatchUnit param); | 
 |  |  | } |