|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.doumee.core.model.PageData; | 
|---|
|  |  |  | import com.doumee.core.model.PageWrap; | 
|---|
|  |  |  | import com.doumee.dao.admin.request.RetentionQuery; | 
|---|
|  |  |  | import com.doumee.dao.business.model.Retention; | 
|---|
|  |  |  | import com.doumee.dao.business.model.TrainTime; | 
|---|
|  |  |  | import com.doumee.dao.system.vo.RetentionVo; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 在厂人员信息 表(滞留)Service定义 | 
|---|
|  |  |  | * @author 江蹄蹄 | 
|---|
|  |  |  | * @date 2023/11/23 18:16 | 
|---|
|  |  |  | * @date 2023/11/30 15:33 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public interface RetentionService { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 创建 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param retention 实体对象 | 
|---|
|  |  |  | * @return Integer | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return List<Retention> | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<Retention> findList(Retention retention); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 分页查询 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return long | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | long count(Retention retention); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 关联表分页查询 | 
|---|
|  |  |  | * @param pageWrap | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | PageData<Retention> findTrainTimePage(PageWrap<Retention> pageWrap); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 导出 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param pageWrap 分页对象 | 
|---|
|  |  |  | * @return PageData<RetentionVo> | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<RetentionVo> findPageExcel(PageWrap<Retention> pageWrap); | 
|---|
|  |  |  | } | 
|---|