2 Commity 4e2ab48ca3 ... 37df764b52

Autor SHA1 Wiadomość Data
  zhao 37df764b52 111 4 miesięcy temu
  zhao fbb3b75e59 11 4 miesięcy temu

+ 2 - 1
nngkxxdp/src/main/java/com/example/nngkxxdp/service/impl/ReserveOvertimeServiceImpl.java

@@ -54,7 +54,7 @@ public class ReserveOvertimeServiceImpl implements ReserveOvertimeService {
         //接收前端传递来的时间参数
         Date handleTime = overtimeVerifyDTO.getHandleTime();
         int handleTotal = this.findTotalByTime(handleTime);
-        //int handleTotal = reserveOvertimeDao.findTotalByTime(handleTime);
+//        int handleTotal = reserveOvertimeDao.findTotalByTime(handleTime);
         if(handleTotal>9){
             throw new BusinessException("今日预约人数已满,请更换办理日期!");
         }
@@ -85,6 +85,7 @@ public class ReserveOvertimeServiceImpl implements ReserveOvertimeService {
         Map<Object, Object> map = new HashMap<>();
         map.put("ReserveKey", result);
         map.put("time",time);
+        map.put("Business",overtimeVerifyDTO.getBusiness());
         return BaseResult.ok(map);
     }