puzhibing
2023-11-25 53e7558400dcacecdce70e39ebfe1727740f9296
cloud-server-other/src/main/java/com/dsh/other/service/impl/SiteServiceImpl.java
@@ -71,11 +71,9 @@
    private TBackRecordService backRecordService;
    /**
     * 获取场地列表
     *
     * @param querySiteList
     * @return
     * @throws Exception
@@ -99,6 +97,7 @@
    /**
     * 获取场地详情
     *
     * @param id
     * @return
     * @throws Exception
@@ -156,15 +155,14 @@
    }
    @Autowired
    private ISiteBookingService iSiteBookingService;
    @Autowired
    private ISiteService siteService;
    /**
     * 获取场地预约日期数据
     *
     * @param id
     * @param day
     * @return
@@ -281,11 +279,7 @@
        return timeRanges;
    }
    public static String getNextTime(String currentTime) {
@@ -303,6 +297,7 @@
        return String.format("%02d:%02d", hour, minute);
    }
    public static String getNextTimeOne(String currentTime) {
        String[] parts = currentTime.split(":");
@@ -327,6 +322,7 @@
    /**
     * 预约场地
     *
     * @param reservationSite
     * @return
     * @throws Exception
@@ -445,8 +441,6 @@
        siteBookingService.save(siteBooking);
        if(reservationSite.getPayType() == 1){//微信支付
            ResultUtil resultUtil = weChatPaymentSite(payMoney, siteBooking);
@@ -468,6 +462,7 @@
    /**
     * 课程微信支付
     *
     * @param paymentPrice
     * @return
     * @throws Exception
@@ -530,9 +525,9 @@
    }
    /**
     * 课程支付宝支付
     *
     * @param paymentPrice
     * @return
     * @throws Exception
@@ -598,6 +593,7 @@
    /**
     * 玩湃币支付
     *
     * @param appUser
     * @param paymentPrice
     * @return
@@ -618,6 +614,7 @@
    /**
     * 获取我的场地预约
     *
     * @param uid
     * @param status
     * @param pageNo
@@ -649,6 +646,7 @@
    /**
     * 取消我的预约场地
     *
     * @param id
     * @return
     * @throws Exception
@@ -750,6 +748,7 @@
    /**
     * 继续支付我预约的场地
     *
     * @param id
     * @param payType
     * @return
@@ -833,6 +832,7 @@
    /**
     * 获取继续支付金额
     *
     * @param id
     * @return
     * @throws Exception