Explorar el Código

修改问题类型

tags/v1.2.0^2
chengwang hace 1 año
padre
commit
8bc50c3d70
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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 Ver fichero

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

Cargando…
Cancelar
Guardar