package cc.mrbird.febs.server.hr.service; import cc.mrbird.febs.common.core.entity.system.DicItem; import cc.mrbird.febs.common.core.exception.FebsException; import cc.mrbird.febs.server.hr.entity.EmpLaborTrouble; import cc.mrbird.febs.common.core.entity.QueryRequest; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.IService; import java.util.List; /** * name:EmpLabortrouble * package:cc.mrbird.febs.server.hr.controller * description:员工劳资案件服务接口 * * @author luoyibo * @date 2021-01-31 11:26:36 * @since JDK1.8 */ public interface IEmpLaborTroubleService extends IService { /** * 查询(分页) * * @param request QueryRequest * @param empLabortrouble empLabortrouble * @return IPage */ IPage findEmpLabortroubles(QueryRequest request, EmpLaborTrouble empLabortrouble); /** * 查询(所有) * * @param empLabortrouble empLabortrouble * @return List */ List findEmpLabortroubles(EmpLaborTrouble empLabortrouble); /** * 新增 * * @param empLabortrouble empLabortrouble */ void createEmpLabortrouble(EmpLaborTrouble empLabortrouble) throws FebsException; /** * 修改 * * @param empLabortrouble empLabortrouble */ void updateEmpLabortrouble(EmpLaborTrouble empLabortrouble) throws FebsException; /** * 删除 * * @param empLabortrouble empLabortrouble */ void deleteEmpLabortrouble(EmpLaborTrouble empLabortrouble); /** * 根据Id批量逻辑删除记录 *

* date 2021-01-28 10:48 * * @param ids 待删除Id * @return void * @author: luoyibo */ void logicDelEmpLabortrouble(String ids); /** * 从暂存状态转成正式状态 *

* date 2021-02-04 21:11 * * @param ids 待转换记录Id * @return boolean * @author: luoyibo */ boolean momentToNormal(String ids); void importEmpLaborTrouble(List> listObject,List returnList,List dicItems ); }