From eb6b6dbb35a9f029e0b7d269773685c19fd40976 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期四, 11 七月 2024 10:47:51 +0800
Subject: [PATCH] 玩湃微信商户认证代码

---
 cloud-server-other/src/main/java/com/dsh/other/service/ISiteService.java |   95 +++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 95 insertions(+), 0 deletions(-)

diff --git a/cloud-server-other/src/main/java/com/dsh/other/service/ISiteService.java b/cloud-server-other/src/main/java/com/dsh/other/service/ISiteService.java
index c239b6f..15295f6 100644
--- a/cloud-server-other/src/main/java/com/dsh/other/service/ISiteService.java
+++ b/cloud-server-other/src/main/java/com/dsh/other/service/ISiteService.java
@@ -2,10 +2,105 @@
 
 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);
+
+    String getSMIDByOperatorId(Integer id);
+
 }

--
Gitblit v1.7.1