src/main/java/com/whyc/controller/DefectiveProductsController.java
@@ -37,4 +37,10 @@ public Response updateDefective(@RequestBody DefectiveProductsHistory defectiveHis) { return service.updateDefective(defectiveHis); } @ApiOperation("归档不良品") @PostMapping("stopDefective") public Response stopDefective(@RequestParam int deftId) { return service.stopDefective(deftId); } }