删除权限注解,出入库移库

This commit is contained in:
2025-07-18 11:30:09 +08:00
parent ab1dda6422
commit 03af50ad9b
16 changed files with 115 additions and 50 deletions

View File

@@ -103,4 +103,14 @@ public class WmsStockIoController extends BaseController {
@PathVariable Long[] stockIoIds) {
return toAjax(iWmsStockIoService.deleteWithValidByIds(Arrays.asList(stockIoIds), true));
}
/**
* 审核出入库/移库单
*/
@SaCheckPermission("klp:stockIo:audit")
@Log(title = "出入库单主", businessType = BusinessType.UPDATE)
@PostMapping("/audit/{stockIoId}")
public R<Void> audit(@NotNull(message = "主键不能为空") @PathVariable Long stockIoId) {
return toAjax(iWmsStockIoService.auditStockIo(stockIoId));
}
}