|
@@ -6,7 +6,7 @@ import api.common.pojo.param.scene.SceneEvaluationComputeParam;
|
|
import com.css.simulation.resource.scheduler.domain.service.TaskDomainService;
|
|
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.GetMapping;
|
|
|
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
import javax.annotation.Resource;
|
|
@@ -19,7 +19,7 @@ public class SceneEvaluationController {
|
|
@Resource
|
|
@Resource
|
|
private TaskDomainService taskDomainService;
|
|
private TaskDomainService taskDomainService;
|
|
|
|
|
|
- @GetMapping("/computeSceneEvaluation")
|
|
|
|
|
|
+ @PostMapping("/computeSceneEvaluation")
|
|
public ResponseBodyVO<String> computeSceneEvaluation(SceneEvaluationComputeParam sceneEvaluationComputeParam) {
|
|
public ResponseBodyVO<String> computeSceneEvaluation(SceneEvaluationComputeParam sceneEvaluationComputeParam) {
|
|
taskDomainService.computeSceneEvaluation(sceneEvaluationComputeParam);
|
|
taskDomainService.computeSceneEvaluation(sceneEvaluationComputeParam);
|
|
return new ResponseBodyVO<>(ResponseBodyVO.Response.SUCCESS);
|
|
return new ResponseBodyVO<>(ResponseBodyVO.Response.SUCCESS);
|