| | |
| | | @ApiOperation(value = "撤销报检") |
| | | @PostMapping("/revokeInspectionReport") |
| | | public Result<?> revokeInspectionReport(@RequestBody Map<String, Object> param) { |
| | | Long id = (Long) param.get("id"); |
| | | Long id = Long.parseLong(param.get("id").toString()); |
| | | return Result.success(rawMaterialOrderService.revokeInspectionReport(id)); |
| | | } |
| | | |
| | |
| | | @ApiOperation(value = "报检") |
| | | @PostMapping("/inspectionReportOne") |
| | | public Result<?> inspectionReportOne(@RequestBody IfsInventoryQuantity ifsInventoryQuantity) { |
| | | |
| | | return Result.success(rawMaterialOrderService.inspectionReportOne(ifsInventoryQuantity)); |
| | | } |
| | | |
| | |
| | | @ApiOperation(value = "原材料撤销下单") |
| | | @GetMapping("/repealRawOrder") |
| | | public Result<?> repealRawOrder(@RequestBody Map<String, Object> param){ |
| | | Long ifsInventoryId = (Long) param.get("ifsInventoryId"); |
| | | Long ifsInventoryId = Long.parseLong(param.get("ifsInventoryId").toString()); |
| | | return Result.success(rawMaterialOrderService.repealRawOrder(ifsInventoryId)); |
| | | } |
| | | |
| | |
| | | |
| | | @ApiOperation(value = "仓库报检查询") |
| | | @GetMapping("/getWarehouseSubmit") |
| | | public Result getWarehouseSubmit(Page page, IfsInventoryQuantity ifsInventoryQuantity) throws Exception { |
| | | public Result getWarehouseSubmit(Page page, IfsInventoryQuantity ifsInventoryQuantity) { |
| | | return Result.success(rawMaterialOrderService.getWarehouseSubmit(page, ifsInventoryQuantity)); |
| | | } |
| | | |
| | |
| | | @ApiOperation(value = "原材料下单放行免检") |
| | | @PostMapping("/rawOrderRelease") |
| | | public Result<?> rawOrderRelease(@RequestBody Map<String, Object> param){ |
| | | Long ifsInventoryId = (Long) param.get("ifsInventoryId"); |
| | | Long ifsInventoryId = Long.parseLong(param.get("ifsInventoryId").toString()); |
| | | String partDetail = (String) param.get("partDetail"); |
| | | return Result.success(rawMaterialOrderService.rawOrderRelease(ifsInventoryId, partDetail)); |
| | | } |
| | |
| | | @ApiOperation(value = "让步放行") |
| | | @PostMapping("/concessionRelease") |
| | | public Result<?> concessionRelease(@RequestBody Map<String, Object> param){ |
| | | Long ifsInventoryId = (Long) param.get("ifsInventoryId"); |
| | | Long ifsInventoryId = Long.parseLong(param.get("ifsInventoryId").toString()); |
| | | return Result.success(rawMaterialOrderService.concessionRelease(ifsInventoryId)); |
| | | } |
| | | |
| | |
| | | @ApiOperation(value = "提前入库") |
| | | @PostMapping("/advancedGodown") |
| | | public Result<?> advancedGodown(@RequestBody Map<String, Object> param){ |
| | | Long ifsInventoryId = (Long) param.get("ifsInventoryId"); |
| | | Long ifsInventoryId = Long.parseLong(param.get("ifsInventoryId").toString()); |
| | | return Result.success(rawMaterialOrderService.advancedGodown(ifsInventoryId)); |
| | | } |
| | | |