| | |
| | | import com.mes.utils.Result; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | |
| | | public Result<List<HollowGlassQueueInfo>> queryHollowGlassQueueInfoByTask(int taskId) { |
| | | return Result.success(hollowGlassQueueInfoService.queryHollowGlassQueueInfoByTask(taskId)); |
| | | } |
| | | |
| | | @ApiOperation("铝框确认/破损") |
| | | @PostMapping("/confirmBorder") |
| | | public Result confirmBorder(@RequestBody HollowGlassQueueInfo hollowGlassQueueInfo) { |
| | | hollowGlassQueueInfoService.confirmBorder(hollowGlassQueueInfo); |
| | | return Result.build(200, "修改成功", 1); |
| | | } |
| | | |
| | | @ApiOperation("铝框查询") |
| | | @PostMapping("/queryHollowGlassQueueInfoByLine") |
| | | public Result queryHollowGlassQueueInfoByLine(@RequestBody HollowGlassQueueInfo hollowGlassQueueInfo) { |
| | | return Result.build(200, "操作成功", hollowGlassQueueInfoService.queryHollowGlassQueueInfoByLine(hollowGlassQueueInfo.getCell())); |
| | | } |
| | | } |
| | | |