瀏覽代碼

请假修改

tags/24080901
WendyYang 1 年之前
父節點
當前提交
1bb2162625
共有 1 個檔案被更改,包括 1 行新增1 行删除
  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 查看文件

@@ -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…
取消
儲存