whycrzg
2021-04-01 3e9ea659ab76fa036390c49ca63e6f64fc451598
src/main/java/com/whyc/controller/TestPlanController.java
@@ -30,6 +30,10 @@
        return service.getPageByCondition(pageNum,pageSize,testPlan);
    }
    @GetMapping
    @ApiOperation(value = "查看详情")
    public Response getOne(@RequestParam Integer num){
@@ -53,4 +57,19 @@
        return service.startPlan(num);
    }
    @PutMapping("delete")
    @ApiOperation(value = "删除作废")
    public Response deletePlan(@RequestParam int num){
        return service.deletePlan(num);
    }
    @PutMapping("stop")
    @ApiOperation(value = "停止计划")
    public Response stopPlan(@RequestParam int num){
        return service.stopPlan(num);
    }
}