Commit 187cefd2 authored by 王淑君's avatar 王淑君

修改接口

parent b45050c6
......@@ -47,7 +47,7 @@ public class BRStudentChapterController extends PaginationController<BRStudentCh
public Result addOrUpdate(CurUser curUser, @Valid BRStudentChapterDto brStudentChapterDto, BindingResult bindingResult) {
brStudentChapterDto.setStudentId(curUser.getUserId());
Map map = bRStudentChapterServiceImpl.save(brStudentChapterDto, curUser);
LessonSyncUtil.removeSynLessonDTO(brStudentChapterDto.getStudentId());
LessonSyncUtil.removeSynUserDTO(brStudentChapterDto.getStudentId());
return Result.builder( new PersistModel(1),
MessageConstant.MESSAGE_ALERT_SUCCESS,
MessageConstant.MESSAGE_ALERT_ERROR,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment