jiangping
2024-08-13 6765787baa5e0b771d71f865c4deb776367410c4
server/dmvisit_service/src/main/java/com/doumee/service/business/RetentionService.java
@@ -2,19 +2,23 @@
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
     */
@@ -78,7 +82,7 @@
     * @return List<Retention>
     */
    List<Retention> findList(Retention retention);
    /**
     * 分页查询
     *
@@ -94,4 +98,19 @@
     * @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);
}