组织管理代码调整

This commit is contained in:
DEVICE8\12494
2023-04-21 09:06:49 +08:00
parent 95cc47ebac
commit ab92c80838
21 changed files with 558 additions and 36 deletions

View File

@@ -42,4 +42,8 @@ public class DepartmentCrInput
/// 排序码.
/// </summary>
public long? sortCode { get; set; }
/// <summary>
/// 组织类型
/// </summary>
public string category { get; set; }
}

View File

@@ -52,4 +52,9 @@ public class DepartmentInfoOutput
/// 所属组织 组织树.
/// </summary>
public List<string> organizeIdTree { get; set; }
/// <summary>
/// 机构类型
/// added by ly on 20230420
/// </summary>
public string category { get; set; }
}

View File

@@ -36,8 +36,12 @@ public class PermissionMapper : IRegister
config.ForType<OrganizeAdminIsTratorCrInput, OrganizeAdministratorEntity>()
.Ignore(dest => dest.UserId);
config.ForType<OrganizeEntity, DepartmentInfoOutput>()
.Ignore(dest => dest.organizeIdTree);
.Ignore(dest => dest.organizeIdTree)
.NameMatchingStrategy(NameMatchingStrategy.IgnoreCase); //modified by ly on 20230420
config.ForType<OrganizeEntity, OrganizeInfoOutput>()
.Ignore(dest => dest.organizeIdTree);
//modified by ly on 20230420
config.ForType<DepartmentUpInput, OrganizeEntity>()
.NameMatchingStrategy(NameMatchingStrategy.IgnoreCase); //忽略字段大小写
}
}

View File

@@ -70,6 +70,13 @@ public class TestService : IDynamicApiController, ITransient
}
}
public async Task ImportMoldData()
{
}
public void xx(UserEntity user)
{
user.Account = "2312321";