|
@@ -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);
|
|
|
}
|
|
|
|