From c26e227abe288476c11b0a8b7875045e71efa14c Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: Thu, 30 Apr 2026 17:30:00 +0800
Subject: [PATCH] 新增修改
---
multi-system/src/main/java/com/gkhy/exam/system/service/impl/ExCourseChapterPeriodServiceImpl.java | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/ExCourseChapterPeriodServiceImpl.java b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/ExCourseChapterPeriodServiceImpl.java
index b70b3fe..0ea2b17 100644
--- a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/ExCourseChapterPeriodServiceImpl.java
+++ b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/ExCourseChapterPeriodServiceImpl.java
@@ -104,13 +104,13 @@
if(courseChapterPeriod.getCompanyId()!=null&&!currentUser.getCompanyId().equals(courseChapterPeriod.getCompanyId())){
throw new ApiException("没有权限操作其他企业课程");
}
- int state=courseMapper.selectCourseState(courseChapterPeriod.getCourseId());
- if(state== ApproveStatusEnum.APPROVED.getCode()){
- throw new ApiException("已审批的课程不能再操作");
- }
- if(state== ApproveStatusEnum.APPROVING.getCode()){
- throw new ApiException("待审批的课程不能再操作");
- }
+// int state=courseMapper.selectCourseState(courseChapterPeriod.getCourseId());
+// if(state== ApproveStatusEnum.APPROVED.getCode()){
+// throw new ApiException("已审批的课程不能再操作");
+// }
+// if(state== ApproveStatusEnum.APPROVING.getCode()){
+// throw new ApiException("待审批的课程不能再操作");
+// }
}
}
--
Gitblit v1.9.2