Browse Source

请假修改

master
WendyYang 1 year ago
parent
commit
1bb2162625
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/leave/manage/LeaveManage.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/leave/manage/LeaveManage.java View File

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


Loading…
Cancel
Save