| package com.doumee.service.business; | 
|   | 
| import com.baomidou.mybatisplus.core.metadata.IPage; | 
| 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.Rooms; | 
| import com.doumee.dao.web.request.RoomsRequest; | 
| import com.doumee.dao.web.response.RoomsResponse; | 
|   | 
| import java.util.List; | 
|   | 
| /** | 
|  * 会议室信息表Service定义 | 
|  * @author 江蹄蹄 | 
|  * @date 2023/05/04 18:18 | 
|  */ | 
| public interface RoomsService { | 
|   | 
|     /** | 
|      * 创建 | 
|      *  | 
|      * @param rooms 实体对象 | 
|      * @return Integer | 
|      */ | 
|     Integer create(Rooms rooms); | 
|   | 
|     /** | 
|      * 主键删除 | 
|      * | 
|      * @param id 主键 | 
|      */ | 
|     void deleteById(Integer id); | 
|   | 
|     /** | 
|      * 删除 | 
|      * | 
|      * @param rooms 实体对象 | 
|      */ | 
|     void delete(Rooms rooms); | 
|   | 
|     /** | 
|      * 批量主键删除 | 
|      * | 
|      * @param ids 主键集 | 
|      */ | 
|     void deleteByIdInBatch(List<Integer> ids); | 
|   | 
|     /** | 
|      * 主键更新 | 
|      * | 
|      * @param rooms 实体对象 | 
|      */ | 
|     void updateById(Rooms rooms); | 
|   | 
|     void updateStatusById(Rooms rooms, LoginUserInfo user); | 
|   | 
|     /** | 
|      * 批量主键更新 | 
|      * | 
|      * @param roomss 实体集 | 
|      */ | 
|     void updateByIdInBatch(List<Rooms> roomss); | 
|   | 
|     /** | 
|      * 主键查询 | 
|      * | 
|      * @param id 主键 | 
|      * @return Rooms | 
|      */ | 
|     Rooms findById(Integer id); | 
|   | 
|     Integer recordisExist(Integer id); | 
|   | 
|     /** | 
|      * 条件查询单条记录 | 
|      * | 
|      * @param rooms 实体对象 | 
|      * @return Rooms | 
|      */ | 
|     Rooms findOne(Rooms rooms); | 
|   | 
|     /** | 
|      * 条件查询 | 
|      * | 
|      * @param rooms 实体对象 | 
|      * @return List<Rooms> | 
|      */ | 
|     List<Rooms> findList(Rooms rooms); | 
|    | 
|     /** | 
|      * 分页查询 | 
|      * | 
|      * @param pageWrap 分页对象 | 
|      * @return PageData<Rooms> | 
|      */ | 
|     PageData<Rooms> findPage(PageWrap<Rooms> pageWrap); | 
|   | 
|     /** | 
|      * 条件统计 | 
|      * | 
|      * @param rooms 实体对象 | 
|      * @return long | 
|      */ | 
|     long count(Rooms rooms); | 
|   | 
|   | 
|   | 
|     /****************************************移动端接口开始********************************************************************/ | 
|   | 
|     /** | 
|      * 获取开门二维码值 | 
|      * @param id | 
|      * @param memberId | 
|      * @return | 
|      */ | 
|     String getQrCode(Integer id, Integer memberId); | 
|   | 
|     /** | 
|      * 获取所有会议室列表 | 
|      * @return | 
|      */ | 
|     List<RoomsResponse> getRoomsList(); | 
|   | 
|     /** | 
|      * 我管理的会议室 | 
|      * @param pageWrap | 
|      * @return | 
|      */ | 
|     IPage<RoomsResponse> getRoomsPage(PageWrap<RoomsRequest> pageWrap); | 
|   | 
|     /** | 
|      * 查询会议室详情 | 
|      * @param roomId | 
|      * @return | 
|      */ | 
|     RoomsResponse getRoomDetail(Integer roomId); | 
| } |