44323
2023-11-24 ae9bfd2d66f68a553786ac78b12f4390e65e4e09
cloud-server-other/src/main/java/com/dsh/other/service/ISiteService.java
@@ -2,10 +2,12 @@
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
@@ -39,7 +41,7 @@
     * @return
     * @throws Exception
     */
    List<QuerySiteTimes> querySiteTimes(Integer id, String day) throws Exception;
    List<QuerySiteTimes> querySiteTimes(Integer id, String day,String halfName,String siteName) throws Exception;
    /**
@@ -49,4 +51,46 @@
     * @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);
}