| | |
| | | package com.whyc.controller; |
| | | |
| | | import com.whyc.dto.DefectiveDto; |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.pojo.BOMFeedback; |
| | | import com.whyc.pojo.DefectiveProducts; |
| | |
| | | public Response stopDefective(@RequestParam int deftId) { |
| | | return service.stopDefective(deftId); |
| | | } |
| | | |
| | | @ApiOperation("获取不良品") |
| | | @GetMapping("getDefectives") |
| | | public Response getDefectives(@RequestParam String message) { |
| | | DefectiveDto defectiveDto= ActionUtil.getGson().fromJson(message, DefectiveDto.class); |
| | | return service.getDefectiveLimit(defectiveDto); |
| | | } |
| | | } |