|
@@ -91,7 +91,7 @@ public class ObeCourseOutlineServiceImpl extends ServiceImpl<ObeCourseOutlineMap
|
|
|
.last(SystemConstant.LIMIT1));
|
|
|
if (Objects.nonNull(checkUniqueCourse)) {
|
|
|
if (!Objects.equals(checkUniqueCourse.getId(), id)) {
|
|
|
- throw ExceptionResultEnum.ERROR.exception("该课程已经创建了课程大纲不能重复创建");
|
|
|
+ throw ExceptionResultEnum.ERROR.exception("同培养方案下,一门课只能建一个大纲");
|
|
|
}
|
|
|
}
|
|
|
|