Pārlūkot izejas kodu

修改问题类型

tags/v1.2.0^2
chengwang pirms 1 gada
vecāks
revīzija
8bc50c3d70
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  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 Parādīt failu

@@ -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);

Notiek ielāde…
Atcelt
Saglabāt