| | |
| | | return Result.seccess(materialInventoryService.getMaterialLogReport(type,pageNum,pageSize,selectDate,materialLog)); |
| | | } |
| | | |
| | | @ApiOperation("物料库存删除") |
| | | @SaCheckPermission("createOutbound.search") |
| | | @PostMapping("/deleteMaterialInventory") |
| | | public Result deleteMaterialInventory(@RequestBody Map<String,Object> object){ |
| | | return Result.seccess(materialInventoryService.deleteMaterialInventory(object)); |
| | | } |
| | | |
| | | @ApiOperation("物料报表导出") |
| | | @PostMapping("/exportMaterialLogReport/{type}") |
| | | public void exportMaterialLogReport(@PathVariable String type, HttpServletResponse response, @RequestBody List<LocalDate> dates) throws IOException, IllegalAccessException, InstantiationException { |
| | |
| | | } |
| | | |
| | | |
| | | @ApiOperation("mes切割报工") |
| | | @PostMapping ("/mesMaterialOutbound") |
| | | public Result mesMaterialOutbound(@RequestBody Map<String,Object> reportingWork) { |
| | | return Result.seccess(materialInventoryService.mesMaterialOutbound(reportingWork)); |
| | | } |
| | | |
| | | @ApiOperation("物料新增返回接口") |
| | | @PostMapping("/cancelMaterialAdditionRecord") |
| | | public Result cancelMaterialAdditionRecord( @RequestBody Map<String,Object> object){ |
| | | return Result.seccess(materialInventoryService.cancelMaterialAdditionRecord(object)); |
| | | } |
| | | |
| | | @ApiOperation("优化物料库存记录查询接口") |
| | | @SaCheckPermission("warehouseReport.search") |
| | | @PostMapping("/getOptimizeOutboundReport/{type}/{pageNum}/{pageSize}/{selectDate}") |
| | | public Result getOptimizeOutboundReport(@PathVariable String type,@PathVariable Integer pageNum, @PathVariable Integer pageSize,@PathVariable List<String> selectDate, @RequestBody MaterialLog materialLog){ |
| | | return Result.seccess(materialInventoryService.getOptimizeOutboundReport(type,pageNum,pageSize,selectDate,materialLog)); |
| | | } |
| | | |
| | | |
| | | } |