| | |
| | | if (siteBooking.getStoreId()==9939 && codeType==2){ |
| | | TSiteBookingUse siteBookingUse = siteBookingUseService.lambdaQuery() |
| | | .eq(TSiteBookingUse::getDataId, dataId) |
| | | |
| | | .eq(TSiteBookingUse::getType, 1) |
| | | .last("limit 1") |
| | | .one(); |
| | |
| | | |
| | | if (money.compareTo(BigDecimal.ZERO)==0){ |
| | | siteBooking.setStatus(1); |
| | | siteBooking.setPayMoney(BigDecimal.ZERO.doubleValue()); |
| | | siteBooking.setPayTime(new Date()); |
| | | siteBookingService.updateById(siteBooking); |
| | | HashMap<String, String> map = new HashMap<>(); |
| | | map.put("siteBooking", siteBooking.getId().toString()); |