|
|
@@ -191,7 +191,7 @@ public class LeaveManage { |
|
|
|
} else if (type.equals(LeaveTypeEnum.TEMPORARY)) { |
|
|
|
// 临时请假 |
|
|
|
Meeting meeting = meetingService.getById(po.getMeetingId()); |
|
|
|
if (meeting.getStatus().equals(MeetingStatusEnum.CANCELED.getCode())) { |
|
|
|
if (MeetingStatusEnum.CANCELED.eq(meeting.getStatus())) { |
|
|
|
throw BizException.wrap("该会议已取消"); |
|
|
|
} |
|
|
|
po.setStartTime(meeting.getStartTime()); |
|
|
|