This commit is contained in:
cjw 2024-08-19 16:39:40 +08:00
parent a2f59bf1b2
commit 0cb015dfb3
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ public class ReservationServiceImpl implements IReservationService {
throw new ServiceException("此日期下已有预约排程");
}
ReservationDay add = MapstructUtils.convert(bo, ReservationDay.class);
add.setCounselorId(userId);
boolean flag = dayMapper.insert(add) > 0;
Long id = add.getId();
if (flag) {