|
@@ -74,8 +74,8 @@ public class RiskAnalysisController extends BaseController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation("立即分析")
|
|
|
- @GetMapping(value = "/atOnce/{riskId}")
|
|
|
- public AjaxResult atOnce(@PathVariable("riskId") Long riskId) {
|
|
|
+ @GetMapping(value = "/atOnce")
|
|
|
+ public AjaxResult atOnce(Long riskId) {
|
|
|
RiskModel rm = riskModelService.selectRiskModelByRiskId(riskId);
|
|
|
Date d = new Date();
|
|
|
try {
|
|
@@ -93,8 +93,8 @@ public class RiskAnalysisController extends BaseController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation("获取异类组件分析结果")
|
|
|
- @GetMapping(value = "/type3/result/{resultId}")
|
|
|
- public AjaxResult type3info(@PathVariable("resultId") Long resultId) {
|
|
|
+ @GetMapping(value = "/type3/result")
|
|
|
+ public AjaxResult type3info(Long resultId) {
|
|
|
Map<String, Object> result = new HashMap<>(16);
|
|
|
RiskAnalysis analysis = riskAnalysisService.selectRiskAnalysisByResultId(resultId);
|
|
|
|
|
@@ -104,8 +104,8 @@ public class RiskAnalysisController extends BaseController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation("根据对象获取曲线")
|
|
|
- @GetMapping(value = "/type3/trend/{id}")
|
|
|
- public AjaxResult type3trend(@PathVariable("id") Long id) {
|
|
|
+ @GetMapping(value = "/type3/trend")
|
|
|
+ public AjaxResult type3trend(Long id) {
|
|
|
Map<String, Object> result = new HashMap<>(16);
|
|
|
List<Map<String, Object>> list = new ArrayList();
|
|
|
LocalDateTime ed = LocalDateTime.now();
|