廖井涛
2025-09-09 3f294a08674f431ced84407df1a3b30eecaeac1e
north-glass-erp/src/main/java/com/example/erp/controller/mm/MaterialInventoryController.java
@@ -45,6 +45,7 @@
        return Result.seccess(materialInventoryService.saveMaterialInventory(object));
    }
    @ApiOperation("物料库存加时间查询接口")
    @SaCheckPermission("selectIngredientsStock.search")
    @PostMapping("/getSelectMaterialInventoryDate/{pageNum}/{pageSize}/{selectDate}")
@@ -188,6 +189,12 @@
        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){
@@ -201,5 +208,21 @@
        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));
    }
}