xyc
2024-03-05 f7cf5c4efc4024f4a998dffa1d4c11075c3f7f19
modules/mainPart/src/main/java/com/zt/life/modules/taskReliability/controller/ModelLineController.java
@@ -63,8 +63,8 @@
    @GetMapping("getDiagram")
    @ApiOperation("信息")
    public Result<ModelRbd> getDiagram(){
        ModelRbd data = modelLineService.getDiagram();
    public Result<ModelRbd> getDiagram(Long modelId){
        ModelRbd data = modelLineService.getDiagram(modelId);
        return Result.ok(data);
    }
@@ -102,4 +102,13 @@
        return Result.ok();
    }
    @PostMapping("analyze")
    @ApiOperation("新增")
    @LogOperation("新增")
    public Result analyze(@RequestBody ModelRbd modelRbd){
        modelLineService.analyze(modelRbd);
        return Result.ok();
    }
}