refactor(AdminPermissionService): 优化权限和角色编码重复校验逻辑
1. 将链式查询拆分为分步Where调用,使用WhereIF简化条件判断 2. 修复空值处理问题,使用id!.Value替代原值访问 3. 新增数据库菜单初始化脚本,补充Dockerfile和dotnet工具配置
This commit is contained in:
13
QYZH.InteractiveMagazine.WeChatApi/dotnet-tools.json
Normal file
13
QYZH.InteractiveMagazine.WeChatApi/dotnet-tools.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"version": 1,
|
||||
"isRoot": true,
|
||||
"tools": {
|
||||
"dotnet-ef": {
|
||||
"version": "10.0.9",
|
||||
"commands": [
|
||||
"dotnet-ef"
|
||||
],
|
||||
"rollForward": false
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user