puzhibing
2023-07-19 d85000e8f03740bd68523a36e108065a8168bd6a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package com.dsh.other.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.dsh.other.entity.Site;
import com.dsh.other.model.*;
import com.dsh.other.util.ResultUtil;
 
import java.util.List;
 
/**
 * @author zhibing.pu
 * @date 2023/7/13 16:10
 */
public interface ISiteService extends IService<Site> {
 
 
    /**
     * 获取场地列表
     * @param querySiteList
     * @return
     * @throws Exception
     */
    List<QuerySiteListVo> querySiteList(QuerySiteList querySiteList) throws Exception;
 
 
    /**
     * 获取场地详情
     * @param id
     * @return
     * @throws Exception
     */
    QuerySiteInfoVo querySiteInfo(Integer id, String lon, String lat) throws Exception;
 
 
    /**
     * 获取场地预约日期数据
     * @param id
     * @param day
     * @return
     * @throws Exception
     */
    List<QuerySiteTimes> querySiteTimes(Integer id, String day) throws Exception;
 
 
    /**
     * 预约场地
     * @param reservationSite
     * @return
     * @throws Exception
     */
    ResultUtil reservationSite(Integer uid, ReservationSite reservationSite) throws Exception;
}