puzhibing
2023-11-25 53e7558400dcacecdce70e39ebfe1727740f9296
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
package com.dsh.other.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.dsh.other.entity.Site;
import com.dsh.other.feignclient.model.SiteChangeStateVO;
import com.dsh.other.model.*;
import com.dsh.other.util.ResultUtil;
 
import java.util.List;
import java.util.Map;
 
/**
 * @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, String halfName, String siteName) throws Exception;
 
 
    /**
     * 预约场地
     *
     * @param reservationSite
     * @return
     * @throws Exception
     */
    ResultUtil reservationSite(Integer uid, ReservationSite reservationSite) throws Exception;
 
 
    /**
     * 获取我的预约场地列表
     *
     * @param status
     * @param pageNo
     * @param pageSize
     * @return
     * @throws Exception
     */
    List<QueryMySiteVo> queryMySite(Integer uid, Integer status, Integer pageNo, Integer pageSize) throws Exception;
 
 
    /**
     * 取消我的预约场地
     *
     * @param id
     * @return
     * @throws Exception
     */
    ResultUtil cancelMySite(Integer uid, Integer id) throws Exception;
 
 
    /**
     * 继续支付我预约的场地
     *
     * @param id
     * @param payType
     * @return
     * @throws Exception
     */
    ResultUtil continuePaymentMySite(Integer uid, Integer id, Integer payType) throws Exception;
 
 
    /**
     * 获取继续支付金额
     *
     * @param id
     * @return
     * @throws Exception
     */
    ResultUtil<Map<String, Double>> queryContinuePaymentMySitePrice(Integer id) throws Exception;
 
    Object changeState(SiteChangeStateVO vo);
 
}