|
@@ -7,6 +7,7 @@ import com.css.simulation.resource.scheduler.domain.service.TaskDomainService;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
import javax.annotation.Resource;
|
|
@@ -20,7 +21,7 @@ public class SceneEvaluationController {
|
|
private TaskDomainService taskDomainService;
|
|
private TaskDomainService taskDomainService;
|
|
|
|
|
|
@PostMapping("/computeSceneEvaluation")
|
|
@PostMapping("/computeSceneEvaluation")
|
|
- public ResponseBodyVO<String> computeSceneEvaluation(SceneEvaluationComputeParam sceneEvaluationComputeParam) {
|
|
|
|
|
|
+ public ResponseBodyVO<String> computeSceneEvaluation(@RequestBody SceneEvaluationComputeParam sceneEvaluationComputeParam) {
|
|
taskDomainService.computeSceneEvaluation(sceneEvaluationComputeParam);
|
|
taskDomainService.computeSceneEvaluation(sceneEvaluationComputeParam);
|
|
return new ResponseBodyVO<>(ResponseBodyVO.Response.SUCCESS);
|
|
return new ResponseBodyVO<>(ResponseBodyVO.Response.SUCCESS);
|
|
}
|
|
}
|