| package com.doumee.service.business; | 
|   | 
| import com.doumee.service.business.third.model.LoginUserInfo; | 
| import com.doumee.service.business.third.model.PageData; | 
| import com.doumee.service.business.third.model.PageWrap; | 
| import com.doumee.dao.business.model.PlatformBooks; | 
| import com.doumee.dao.web.reqeust.PlatformBooksApplyDTO; | 
| import com.doumee.dao.web.reqeust.PlatformBooksCheckNumDTO; | 
| import com.doumee.dao.web.reqeust.RevokeDTO; | 
|   | 
| import java.math.BigDecimal; | 
| import java.util.List; | 
|   | 
| /** | 
|  * 月台入园预约信息表Service定义 | 
|  * @author 江蹄蹄 | 
|  * @date 2024/06/28 10:03 | 
|  */ | 
| public interface PlatformBooksService { | 
|   | 
|     /** | 
|      * 创建 | 
|      *  | 
|      * @param platformBooks 实体对象 | 
|      * @return Integer | 
|      */ | 
|     Integer create(PlatformBooks platformBooks); | 
|   | 
|     /** | 
|      * 主键删除 | 
|      * | 
|      * @param id 主键 | 
|      */ | 
|     void deleteById(Integer id); | 
|     void deleteById(Integer id,LoginUserInfo user); | 
|     /** | 
|      * 删除 | 
|      * | 
|      * @param platformBooks 实体对象 | 
|      */ | 
|     void delete(PlatformBooks platformBooks); | 
|   | 
|     /** | 
|      * 批量主键删除 | 
|      * | 
|      * @param ids 主键集 | 
|      */ | 
|     void deleteByIdInBatch(List<Integer> ids); | 
|   | 
|     /** | 
|      * 主键更新 | 
|      * | 
|      * @param platformBooks 实体对象 | 
|      */ | 
|     void updateById(PlatformBooks platformBooks); | 
|   | 
|     /** | 
|      * 批量主键更新 | 
|      * | 
|      * @param platformBookss 实体集 | 
|      */ | 
|     void updateByIdInBatch(List<PlatformBooks> platformBookss); | 
|   | 
|     /** | 
|      * 主键查询 | 
|      * | 
|      * @param id 主键 | 
|      * @return PlatformBooks | 
|      */ | 
|     PlatformBooks findById(Integer id); | 
|   | 
|     /** | 
|      * 条件查询单条记录 | 
|      * | 
|      * @param platformBooks 实体对象 | 
|      * @return PlatformBooks | 
|      */ | 
|     PlatformBooks findOne(PlatformBooks platformBooks); | 
|   | 
|     /** | 
|      * 条件查询 | 
|      * | 
|      * @param platformBooks 实体对象 | 
|      * @return List<PlatformBooks> | 
|      */ | 
|     List<PlatformBooks> findList(PlatformBooks platformBooks); | 
|    | 
|     /** | 
|      * 分页查询 | 
|      * | 
|      * @param pageWrap 分页对象 | 
|      * @return PageData<PlatformBooks> | 
|      */ | 
|     PageData<PlatformBooks> findPage(PageWrap<PlatformBooks> pageWrap); | 
|   | 
|     /** | 
|      * 条件统计 | 
|      * | 
|      * @param platformBooks 实体对象 | 
|      * @return long | 
|      */ | 
|     long count(PlatformBooks platformBooks); | 
|   | 
|     /** | 
|      * 查询当日可预约数量 | 
|      * @param platformBooksCheckNumDTO | 
|      * @return | 
|      */ | 
|     BigDecimal checkNum(PlatformBooksCheckNumDTO platformBooksCheckNumDTO); | 
|   | 
|     /** | 
|      * 物流车预约 | 
|      * @param platformBooksApplyDTO | 
|      */ | 
|     Integer apply(PlatformBooksApplyDTO platformBooksApplyDTO); | 
|   | 
|   | 
|     /** | 
|      * 预约详情 | 
|      * @param id | 
|      * @return | 
|      */ | 
|     PlatformBooks getDetail(Integer id,Integer memberId); | 
|   | 
|   | 
|     /** | 
|      * 取消物流车预约 | 
|      * @param revokeDTO | 
|      * @param loginUserInfo | 
|      */ | 
|     void revoke(RevokeDTO revokeDTO, LoginUserInfo loginUserInfo); | 
|   | 
|     /** | 
|      * 修改预约申请 | 
|      * @param platformBooksApplyDTO | 
|      * @return | 
|      */ | 
|     Integer edit(PlatformBooksApplyDTO platformBooksApplyDTO); | 
| } |