| | |
| | | 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.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)); |
| | | } |
| | | |
| | | |
| | | } |