|
|
|
@ -96,6 +96,9 @@ public class AskQuestionLibraryManageServiceImpl implements AskQuestionLibraryMa
|
|
|
|
|
}else if (!question.contains(askTemplateQuestionLibrary.getDescription())){
|
|
|
|
|
question.add(askTemplateQuestionLibrary.getDescription());
|
|
|
|
|
}
|
|
|
|
|
if (StrUtil.isNotEmpty(askTemplateQuestionLibrary.getDefaultAnswer())){
|
|
|
|
|
one.setDescription(askTemplateQuestionLibrary.getDefaultAnswer());
|
|
|
|
|
}
|
|
|
|
|
one.setQuestion(question);
|
|
|
|
|
askTemplateQuestionLibraryService.updateById(one);
|
|
|
|
|
return one.getId();
|
|
|
|
|