组织管理代码调整
This commit is contained in:
@@ -42,4 +42,8 @@ public class DepartmentCrInput
|
||||
/// 排序码.
|
||||
/// </summary>
|
||||
public long? sortCode { get; set; }
|
||||
/// <summary>
|
||||
/// 组织类型
|
||||
/// </summary>
|
||||
public string category { get; set; }
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
@@ -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); //忽略字段大小写
|
||||
}
|
||||
}
|
||||
@@ -70,6 +70,13 @@ public class TestService : IDynamicApiController, ITransient
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public async Task ImportMoldData()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
public void xx(UserEntity user)
|
||||
{
|
||||
user.Account = "2312321";
|
||||
|
||||
Reference in New Issue
Block a user