Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# 更新日志

## 未发布

### BUG修复

1.修复新增和编辑部门无法使用已删除的部门名称问题 (#10)。

### 代码优化

1.优化数据权限依赖 (#8)。
2.动态导入定时任务函数,移除eval (#9)。

## RuoYi-Vue-FastAPI v1.8.0

### 项目依赖
Expand Down
1 change: 1 addition & 0 deletions ruoyi-fastapi-backend/module_admin/dao/dept_dao.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ async def get_dept_detail_by_info(cls, db: AsyncSession, dept: DeptModel) -> Uni
select(SysDept).where(
SysDept.parent_id == dept.parent_id if dept.parent_id else True,
SysDept.dept_name == dept.dept_name if dept.dept_name else True,
SysDept.del_flag == '0',
)
)
)
Expand Down