瀏覽代碼

修改问题类型

tags/v1.2.0^2
chengwang 1 年之前
父節點
當前提交
8bc50c3d70
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/QuestionServiceImpl.java

+ 2
- 0
tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/QuestionServiceImpl.java 查看文件

@@ -30,6 +30,7 @@ import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.CollectionUtils;

@@ -290,6 +291,7 @@ public class QuestionServiceImpl extends BaseServiceImpl<QuestionMapper, Questio
}

@Override
@Transactional(propagation = Propagation.REQUIRED)
public JsonResult process(String requestId, CallbackRequest callbackRequest) throws ServiceException {

ThMission mission = getThMission(requestId);

Loading…
取消
儲存