| | |
| | | return Result.seccess(materialInventoryService.saveMaterialInventory(object)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation("物料库存加时间查询接口") |
| | | @SaCheckPermission("selectIngredientsStock.search") |
| | | @PostMapping("/getSelectMaterialInventoryDate/{pageNum}/{pageSize}/{selectDate}") |
| | |
| | | return Result.seccess(materialInventoryService.mesMaterialOutbound(reportingWork)); |
| | | } |
| | | |
| | | @ApiOperation("mes原片查询") |
| | | @PostMapping ("/mesOriginalSelect") |
| | | public Result mesOriginalSelect() { |
| | | return Result.seccess(materialInventoryService.mesOriginalSelect()); |
| | | } |
| | | |
| | | @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)); |
| | | } |
| | | |
| | | @ApiOperation("物料出库保存并审核接口") |
| | | @SaCheckPermission("createOutbound.add") |
| | | @PostMapping("/saveToExamineMaterialOutbound") |
| | | public Result saveToExamineMaterialOutbound( @RequestBody Map<String,Object> object){ |
| | | |
| | | return Result.seccess(materialInventoryService.saveToExamineMaterialOutbound(object)); |
| | | |
| | | } |
| | | |
| | | @ApiOperation("物料库存修改接口") |
| | | @SaCheckPermission("selectIngredientsStock.add") |
| | | @PostMapping("/updateMaterialInventory") |
| | | public Result updateMaterialInventory( @RequestBody Map<String,Object> object){ |
| | | return Result.seccess(materialInventoryService.updateMaterialInventory(object)); |
| | | } |
| | | |
| | | |
| | | } |