| | |
| | | |
| | | @ApiOperation("处理不良品") |
| | | @PostMapping("updateDefective") |
| | | public Response updateDefective(@RequestBody DefectiveProductsHistory defectiveHis) { |
| | | return service.updateDefective(defectiveHis); |
| | | public Response updateDefective(@RequestPart(required = false) List<MultipartFile> multipartFileList, @RequestParam String defectiveHisJson) { |
| | | DefectiveProductsHistory defectiveHis= ActionUtil.getGson().fromJson(defectiveHisJson, DefectiveProductsHistory.class); |
| | | return service.updateDefective(defectiveHis,multipartFileList); |
| | | } |
| | | |
| | | @ApiOperation("归档不良品") |