MeetingInfoService.java 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. package com.usky.meeting.service;
  2. import com.alibaba.fastjson.JSONObject;
  3. import com.usky.common.core.bean.CommonPage;
  4. import com.usky.meeting.domain.MeetingInfo;
  5. import com.usky.common.mybatis.core.CrudService;
  6. import com.usky.meeting.service.dto.DmMeetingDto;
  7. import com.usky.meeting.service.vo.MeetingInfoRequestVO;
  8. import org.springframework.data.repository.query.Param;
  9. import org.springframework.validation.annotation.Validated;
  10. import org.springframework.web.bind.annotation.RequestBody;
  11. import java.text.ParseException;
  12. import java.util.List;
  13. import java.util.Map;
  14. /**
  15. * <p>
  16. * 会议表(预约成功) 服务类
  17. * </p>
  18. *
  19. * @author zyj
  20. * @since 2024-03-08
  21. */
  22. public interface MeetingInfoService extends CrudService<MeetingInfo> {
  23. /**
  24. * 获取当日会议预约数量
  25. * @return Map<String,Object>
  26. */
  27. Map<String,Object> meetingSummary(Integer tenantId);
  28. /**
  29. * 获取当年会议预约数量
  30. * @return Map<String,Object>
  31. */
  32. Map<String,Object> meetingSummaryByYear(String year, Integer tenantId);
  33. JSONObject getMeetingRoomUsageByDayV2(Long roomId, String dayTime) throws ParseException;
  34. /**
  35. * 获取当月会议室得使用情况
  36. * @param roomId 会议室id
  37. * @param monthTime 获取会议室情况得日期
  38. * @return JSONArray
  39. */
  40. List<Integer> getMeetingRoomUsageByMonth(Long roomId, String monthTime) throws ParseException;
  41. DmMeetingDto add(DmMeetingDto resources);
  42. CommonPage<MeetingInfo> meetingInfoList(MeetingInfoRequestVO requestVO);
  43. }