|  |  |  | 
|---|
|  |  |  | package com.doumee.service.business; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.core.metadata.IPage; | 
|---|
|  |  |  | import com.doumee.core.model.PageData; | 
|---|
|  |  |  | import com.doumee.core.model.PageWrap; | 
|---|
|  |  |  | 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.admin.request.BusinessOverDTO; | 
|---|
|  |  |  | import com.doumee.dao.admin.response.DevWgResponseParam; | 
|---|
|  |  |  | import com.doumee.dao.business.model.Bookings; | 
|---|
|  |  |  | import com.doumee.dao.business.vo.RoomStatisticsVo; | 
|---|
|  |  |  | import com.doumee.dao.system.dto.UserStatisticsDTO; | 
|---|
|  |  |  | import com.doumee.dao.system.vo.RoomStatisticsVo; | 
|---|
|  |  |  | import com.doumee.dao.system.vo.UserResponse; | 
|---|
|  |  |  | import com.doumee.dao.system.vo.UserStatisticsVo; | 
|---|
|  |  |  | import com.doumee.dao.web.request.BookingsRequest; | 
|---|
|  |  |  | import com.doumee.dao.web.request.MeetingPageRequest; | 
|---|
|  |  |  | import com.doumee.dao.web.request.UserPageRequest; | 
|---|
|  |  |  | import com.doumee.dao.web.response.DateTimeResourceDate; | 
|---|
|  |  |  | import com.doumee.dao.web.response.MeetingDetailResponse; | 
|---|
|  |  |  | import com.doumee.dao.web.response.MeetingListResponse; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Param; | 
|---|
|  |  |  | import com.doumee.dao.web.response.RoomDetailResponse; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.time.LocalDateTime; | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param id 主键 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | void deleteById(Integer id); | 
|---|
|  |  |  | void deleteById(Integer id,LoginUserInfo user); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 删除 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param bookings 实体对象 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | void delete(Bookings bookings); | 
|---|
|  |  |  | void delete(Bookings bookings,LoginUserInfo user); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 批量主键删除 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param ids 主键集 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | void deleteByIdInBatch(List<Integer> ids); | 
|---|
|  |  |  | void deleteByIdInBatch(List<Integer> ids, LoginUserInfo user); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 主键更新 | 
|---|
|  |  |  | 
|---|
|  |  |  | * @param dateMsg | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<Bookings> getMyBookings(Integer userId,String dateMsg); | 
|---|
|  |  |  | List<Bookings> getMyBookings(Integer userId,String dateMsg,Integer queryType); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | * @param id | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | MeetingDetailResponse getMeetingDetail(Integer id); | 
|---|
|  |  |  | MeetingDetailResponse getMeetingDetail(Integer id,Integer sysUserId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据日期和会议室主键查询占用信息 | 
|---|
|  |  |  | * @param bean | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | MeetingDetailResponse getMeetingDetailByDate(Bookings bean); | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 获取会议二维码 | 
|---|
|  |  |  | * @param id | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 会议预约记录取消 | 
|---|
|  |  |  | * @param id | 
|---|
|  |  |  | * @param userId | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | void reservationCancel(Integer id,Integer userId); | 
|---|
|  |  |  | void reservationCancel(BusinessOverDTO businessOverDTO); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | * @param yearNum | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<RoomStatisticsVo> getRoomStatistics( Integer yearNum); | 
|---|
|  |  |  | List<RoomStatisticsVo> getRoomStatistics(Integer yearNum); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | PageData<UserStatisticsVo> getUserStatistics(PageWrap<UserStatisticsDTO> pageWrap); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void sendBookingsNotice(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | IPage<UserResponse> getUserPage(PageWrap<UserPageRequest> pageWrap); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void reservationOver(BusinessOverDTO businessOverDTO); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void start(BusinessOverDTO businessOverDTO); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void startEarly(BusinessOverDTO businessOverDTO); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | RoomDetailResponse getRoomDetail(Integer roomId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void autoStart(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|