|
|
|
@ -140,7 +140,7 @@ public class AskQuestionLibraryManageServiceImpl implements AskQuestionLibraryMa
|
|
|
|
|
Assert.notEmpty(askTemplateQuestionLibrary.getId(),"id不能为空");
|
|
|
|
|
|
|
|
|
|
assertSave(askTemplateQuestionLibrary);
|
|
|
|
|
// 不允许修改类目
|
|
|
|
|
// 不允许修改类目 fix bug 197
|
|
|
|
|
AskTemplateQuestionLibrary library = askTemplateQuestionLibraryService.getById(askTemplateQuestionLibrary.getId());
|
|
|
|
|
Assert.notNull(library,"知识库不存在");
|
|
|
|
|
Assert.isTrue(askTemplateQuestionLibrary.getDictId().equals(library.getDictId()),"不允许修改类目");
|
|
|
|
|