refactor(AdminPermissionService): 优化权限和角色编码重复校验逻辑

1.  将链式查询拆分为分步Where调用,使用WhereIF简化条件判断
2.  修复空值处理问题,使用id!.Value替代原值访问
3.  新增数据库菜单初始化脚本,补充Dockerfile和dotnet工具配置
This commit is contained in:
glz
2026-07-06 17:45:42 +08:00
parent a04b4be7e5
commit 2deb0279bb
5 changed files with 161 additions and 3 deletions

View File

@ -0,0 +1,13 @@
{
"version": 1,
"isRoot": true,
"tools": {
"dotnet-ef": {
"version": "10.0.9",
"commands": [
"dotnet-ef"
],
"rollForward": false
}
}
}