Commit bb9d21d7 authored by luzhuang's avatar luzhuang

modify

parent b8cd62a8
......@@ -411,11 +411,11 @@ public class BChapterServiceImpl implements BChapterService {
}
}
} else {//修改
BFile bFileOld = bFileRepository.selectInfoByChapterId(chapterDTO.getBusinessId());
if (model.getChapterLevel() == 1) {
int x = bChapterRepository.updateChapterName(model.getChapterName(), model.getBusinessId());
return new PersistModel(x);
}
BFile bFileOld = bFileRepository.selectInfoByChapterId(chapterDTO.getBusinessId());
if(bFileOld.getVideoUrl().equals(dto.getVideoUrl())){
dto.setPdfNum("0");
}
......
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