This commit is contained in:
parent
a2f59bf1b2
commit
0cb015dfb3
|
@ -44,6 +44,7 @@ public class ReservationServiceImpl implements IReservationService {
|
||||||
throw new ServiceException("此日期下已有预约排程");
|
throw new ServiceException("此日期下已有预约排程");
|
||||||
}
|
}
|
||||||
ReservationDay add = MapstructUtils.convert(bo, ReservationDay.class);
|
ReservationDay add = MapstructUtils.convert(bo, ReservationDay.class);
|
||||||
|
add.setCounselorId(userId);
|
||||||
boolean flag = dayMapper.insert(add) > 0;
|
boolean flag = dayMapper.insert(add) > 0;
|
||||||
Long id = add.getId();
|
Long id = add.getId();
|
||||||
if (flag) {
|
if (flag) {
|
||||||
|
|
Loading…
Reference in New Issue