xyc
2024-03-28 cffcf45c7c09d1ad88f3b2c0eeacd8a266f99ebd
modules/mainPart/src/main/java/com/zt/life/modules/mainPart/taskReliability/controller/ModelLineController.java
@@ -42,8 +42,26 @@
    @Autowired
    private ModelLineService modelLineService;
    @Autowired
//    @Autowired
//    private PythonLib pythonLib;
/*
    @GetMapping("callPythonCalc")
    @ApiOperation("信息")
    public Result callPythonCalc() {
        pythonLib.callPython();
        return Result.ok();
    }
    @GetMapping("getPythonCalcResult")
    @ApiOperation("信息")
    public Result<String> getPythonCalcResult() {
        String result = pythonLib.getPythonCalcResult();
        return Result.ok(result);
    }
*/
    @GetMapping("page")
    @ApiOperation("分页")
@@ -76,24 +94,6 @@
        }
        return Result.ok(data);
    }
/*
    @GetMapping("callPythonCalc")
    @ApiOperation("信息")
    public Result callPythonCalc() {
        pythonLib.callPython();
        return Result.ok();
    }
    @GetMapping("getPythonCalcResult")
    @ApiOperation("信息")
    public Result<String> getPythonCalcResult() {
        String result = pythonLib.getPythonCalcResult();
        return Result.ok(result);
    }
*/
    @PostMapping
    @ApiOperation("新增")