|
|
@ -167,7 +167,7 @@ public class CoursesServiceImpl extends ServiceImpl<CoursesMapper, Courses> impl |
|
|
|
// 在总目标里面插入一个内容
|
|
|
|
// 在总目标里面插入一个内容
|
|
|
|
ObjectiveContents objectiveContents = new ObjectiveContents(); |
|
|
|
ObjectiveContents objectiveContents = new ObjectiveContents(); |
|
|
|
objectiveContents.setObjectiveId(courseTotalObjectivesId); |
|
|
|
objectiveContents.setObjectiveId(courseTotalObjectivesId); |
|
|
|
objectiveContents.setContent("课程总目标"); |
|
|
|
objectiveContents.setContent("请添加课程总目标"); |
|
|
|
objectiveContentsMapper.insert(objectiveContents); |
|
|
|
objectiveContentsMapper.insert(objectiveContents); |
|
|
|
|
|
|
|
|
|
|
|
return "添加成功"; |
|
|
|
return "添加成功"; |
|
|
|