11 changed files with 15193 additions and 42 deletions
-
40src/Shentun.Peis.Application.Contracts/CustomerOrgs/CustomerOrgTreeChildDto.cs
-
2src/Shentun.Peis.Application.Contracts/PatientRegisters/UpdatePatientRegisterAuditorDoctorDto.cs
-
50src/Shentun.Peis.Application/CustomerOrgs/CustomerOrgAppService.cs
-
43src/Shentun.Peis.Application/DataMigrations/BaseDataHandleAppService.cs
-
8src/Shentun.Peis.Application/PeisReports/PeisReportAppService.cs
-
32src/Shentun.Peis.Application/TransToWebPeis/TransToWebPeisAppService.cs
-
7src/Shentun.Peis.Domain/CustomerOrgs/CustomerOrg.cs
-
53src/Shentun.Peis.Domain/CustomerOrgs/CustomerOrgManager.cs
-
14969src/Shentun.Peis.EntityFrameworkCore/Migrations/20240605134759_init20240605002.Designer.cs
-
26src/Shentun.Peis.EntityFrameworkCore/Migrations/20240605134759_init20240605002.cs
-
5src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs
@ -0,0 +1,40 @@ |
|||
using Shentun.Peis.OrganizationUnits; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
|
|||
namespace Shentun.Peis.CustomerOrgs |
|||
{ |
|||
public class CustomerOrgTreeChildDto |
|||
{ |
|||
//组织Id
|
|||
public Guid Id { get; set; } |
|||
//组织名称
|
|||
public string DisplayName { get; set; } |
|||
//父节点Id
|
|||
public Guid? ParentId { get; set; } |
|||
/// <summary>
|
|||
/// 用来做递归的 新用法
|
|||
/// </summary>
|
|||
public string Code { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 短名称
|
|||
/// </summary>
|
|||
public string ShortName { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 单位编码
|
|||
/// </summary>
|
|||
public string CustomerOrgCode { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 拼音简码
|
|||
/// </summary>
|
|||
public string SimpleCode { get; set; } |
|||
|
|||
public int DisplayOrder { get; set; } |
|||
|
|||
public List<CustomerOrgTreeChildDto> TreeChildren { get; set; } |
|||
} |
|||
} |
|||
14969
src/Shentun.Peis.EntityFrameworkCore/Migrations/20240605134759_init20240605002.Designer.cs
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,26 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace Shentun.Peis.Migrations |
|||
{ |
|||
public partial class init20240605002 : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AddColumn<string>( |
|||
name: "customer_org_code", |
|||
table: "customer_org", |
|||
type: "character varying(50)", |
|||
maxLength: 50, |
|||
nullable: true); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropColumn( |
|||
name: "customer_org_code", |
|||
table: "customer_org"); |
|||
} |
|||
} |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue