src/main/java/com/whyc/controller/DefectiveProductsController.java
@@ -34,7 +34,13 @@ @ApiOperation("处理不良品") @PostMapping("updateDefective") public Response updateDefective(@RequestBody DefectiveProductsHistory defectiveHis) throws IOException, MessagingException { public Response updateDefective(@RequestBody DefectiveProductsHistory defectiveHis) { return service.updateDefective(defectiveHis); } @ApiOperation("归档不良品") @PostMapping("stopDefective") public Response stopDefective(@RequestParam int deftId) { return service.stopDefective(deftId); } }