|
@@ -95,6 +95,9 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
@Override
|
|
|
public Boolean updateByEditBo(QuestionEditBo bo) {
|
|
|
Question update = BeanUtil.toBean(bo, Question.class);
|
|
|
+ if(bo.getOptionsList()!=null){
|
|
|
+ update.setJsonStr(JSON.toJSONString(bo.getOptionsList()));
|
|
|
+ }
|
|
|
validEntityBeforeSave(update);
|
|
|
update.setUpdateTime(DateUtils.getNowTime());
|
|
|
return this.updateById(update);
|