merge master

This commit is contained in:
不做码农
2022-03-19 08:47:04 +08:00
37 changed files with 312 additions and 916 deletions

View File

@@ -22,7 +22,7 @@ namespace ZR.Service.System
{
public SysDeptRepository DeptRepository;
public SysRoleDeptRepository RoleDeptRepository;
public SysDeptService(SysDeptRepository deptRepository, SysRoleDeptRepository roleDeptRepository) : base(deptRepository)
public SysDeptService(SysDeptRepository deptRepository, SysRoleDeptRepository roleDeptRepository)
{
DeptRepository = deptRepository;
RoleDeptRepository = roleDeptRepository;
@@ -256,7 +256,7 @@ namespace ZR.Service.System
/// </summary>
/// <param name="roleId"></param>
/// <returns></returns>
public int DeleteRoleDeptByRoleId(long roleId)
public bool DeleteRoleDeptByRoleId(long roleId)
{
return RoleDeptRepository.Delete(f => f.RoleId == roleId);
}