value
2024-04-25 c623c05868d94854e31652181570537a6493a7eb
inspect-server/src/main/java/com/yuanchu/mom/controller/InsReportController.java
@@ -82,10 +82,22 @@
        return Result.success();
    }
    @ApiOperation(value = "提交编制内容")
    @PostMapping("/upReportWriteState")
    public Result<?> upReportWriteState(Integer id){
        return null;
    @ApiOperation(value = "提交")
    @PostMapping("/writeReport")
    public Result writeReport(Integer id) {
        return Result.success(insReportService.writeReport(id));
    }
    @ApiOperation(value = "审核")
    @PostMapping("/examineReport")
    public Result examineReport(Integer id, Integer isExamine, String examineTell) {
        return Result.success(insReportService.examineReport(id, isExamine, examineTell));
    }
    @ApiOperation(value = "批准")
    @PostMapping("/ratifyReport")
    public Result ratifyReport(Integer id, Integer isRatify, String ratifyTell) {
        return Result.success(insReportService.ratifyReport(id, isRatify, ratifyTell));
    }
}