|
@@ -8,6 +8,8 @@ import api.common.util.StringUtil;
|
|
|
import com.css.simulation.resource.project.service.SimulationProjectService;
|
|
|
import com.css.simulation.resource.system.service.ClusterService;
|
|
|
import com.github.pagehelper.PageInfo;
|
|
|
+
|
|
|
+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.RestController;
|
|
@@ -160,9 +162,8 @@ public class SimulationProjectController {
|
|
|
* 根据字典类型和
|
|
|
*
|
|
|
* @param param 参数
|
|
|
- * @return name
|
|
|
*/
|
|
|
- @RequestMapping("getDictName")
|
|
|
+ @PostMapping("getDictName")
|
|
|
public ResponseBodyVO<String> getDictName(@RequestBody DictParam param) {
|
|
|
String dictName = service.getDictName(param.getType(), param.getCode());
|
|
|
return new ResponseBodyVO<>(ResponseBodyVO.Response.SUCCESS, null, dictName);
|
|
@@ -201,7 +202,6 @@ public class SimulationProjectController {
|
|
|
} else {
|
|
|
return service.saveEvaluationLevel(id);
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -228,7 +228,6 @@ public class SimulationProjectController {
|
|
|
service.exportProjectReportAndTaskFileById(param);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 添加编辑自动项目
|
|
|
*/
|