From b64d67ef01e81a857046f19dd556b4e4f0695e1c Mon Sep 17 00:00:00 2001
From: liujie <liujie>
Date: 星期三, 02 八月 2023 16:41:51 +0800
Subject: [PATCH] 后台代码  门店管理

---
 cloud-server-other/src/main/java/com/dsh/other/service/ISiteService.java |   57 ++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 52 insertions(+), 5 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 3a65679..35db539 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,12 +2,11 @@
 
 import com.baomidou.mybatisplus.extension.service.IService;
 import com.dsh.other.entity.Site;
-import com.dsh.other.model.QuerySiteInfoVo;
-import com.dsh.other.model.QuerySiteList;
-import com.dsh.other.model.QuerySiteListVo;
-import com.dsh.other.model.QuerySiteTimes;
+import com.dsh.other.model.*;
+import com.dsh.other.util.ResultUtil;
 
 import java.util.List;
+import java.util.Map;
 
 /**
  * @author zhibing.pu
@@ -31,7 +30,7 @@
      * @return
      * @throws Exception
      */
-    QuerySiteInfoVo querySiteInfo(Integer id) throws Exception;
+    QuerySiteInfoVo querySiteInfo(Integer id, String lon, String lat) throws Exception;
 
 
     /**
@@ -42,4 +41,52 @@
      * @throws Exception
      */
     List<QuerySiteTimes> querySiteTimes(Integer id, String day) 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;
 }

--
Gitblit v1.7.1