|
@@ -16,6 +16,8 @@ import com.taais.common.web.core.BaseController;
|
|
|
import jakarta.annotation.Resource;
|
|
|
import jakarta.servlet.http.HttpServletResponse;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
+import org.slf4j.Logger;
|
|
|
+import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
@@ -33,6 +35,8 @@ import java.util.List;
|
|
|
@RestController
|
|
|
@RequestMapping("/task/bizProcess")
|
|
|
public class AlgorithmBizProcessController extends BaseController {
|
|
|
+
|
|
|
+ private static final Logger log = LoggerFactory.getLogger(AlgorithmBizProcessController.class);
|
|
|
@Resource
|
|
|
private IAlgorithmBizProcessService algorithmBizProcessService;
|
|
|
|
|
@@ -129,6 +133,7 @@ public class AlgorithmBizProcessController extends BaseController {
|
|
|
testResult = algorithmBizProcessService.getTestResult(subtaskId);
|
|
|
} catch (IOException e) {
|
|
|
// 日志
|
|
|
+ log.error("getTestResult 异常",e);
|
|
|
return CommonResult.fail("系统异常,请联系管理员");
|
|
|
}
|
|
|
return CommonResult.success(testResult);
|