修改中心
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
7573ffe941
commit
9875d9622d
|
@ -67,7 +67,9 @@ namespace IRaCIS.Core.Application.Contracts.DTO
|
|||
|
||||
public class AssginSiteCRCCommand
|
||||
{
|
||||
[NotDefault]
|
||||
public Guid TrialId { get; set; }
|
||||
[NotDefault]
|
||||
public Guid TrialSiteId { get; set; }
|
||||
public Guid UserId { get; set; }
|
||||
public DateTime? CreateTime { get; set; } = DateTime.Now;
|
||||
|
|
|
@ -303,7 +303,7 @@ namespace IRaCIS.Application.Contracts
|
|||
|
||||
public class SiteCRCQuery : TrialMaintenanceQuery
|
||||
{
|
||||
|
||||
[NotDefault]
|
||||
public Guid TrialSiteId { get; set; }
|
||||
|
||||
}
|
||||
|
|
|
@ -146,6 +146,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
|
||||
CreateMap<TrialSite, SiteStatSimpleDTO>().IncludeMembers(t => t.Site)
|
||||
.ForMember(d => d.Id, u => u.MapFrom(s => s.Id))
|
||||
.ForMember(d => d.TrialSiteId, u => u.MapFrom(s => s.Id))
|
||||
.ForMember(d => d.UpdateTime, u => u.MapFrom(s => s.UpdateTime))
|
||||
.ForMember(d => d.Site, u => u.MapFrom(s => isEn_Us ?s.Site.SiteName:s.Site.SiteNameCN))
|
||||
.ForMember(d => d.Hospital, u => u.MapFrom(s => s.Site.Hospital.HospitalName))
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
|
||||
//--------------------------------------------------------------------
|
||||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||
// 生成时间 2024-06-04 10:38:19
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||
using System;
|
||||
using IRaCIS.Core.Domain.Share;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
namespace IRaCIS.Core.Domain.Models
|
||||
{
|
||||
///<summary>
|
||||
///TrialBodyPart
|
||||
///</summary>
|
||||
[Table("TrialBodyPart")]
|
||||
public class TrialBodyPart : Entity, IAuditAdd
|
||||
{
|
||||
|
||||
public string Code { get; set; }
|
||||
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
|
||||
public string NameCN { get; set; }
|
||||
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
public Guid CreateUserId { get; set; }
|
||||
|
||||
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
}
|
||||
}
|
|
@ -479,6 +479,7 @@ namespace IRaCIS.Core.Infra.EFCore
|
|||
public virtual DbSet<EmailNoticeUserType> EmailNoticeUserType { get; set; }
|
||||
public virtual DbSet<TrialEmailBlackUser> TrialEmailBlackUser { get; set; }
|
||||
|
||||
public virtual DbSet<TrialBodyPart> TrialBodyPart { get; set; }
|
||||
|
||||
public override async Task<int> SaveChangesAsync(CancellationToken cancellationToken = new CancellationToken())
|
||||
{
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
public static readonly string ConnectionString = "Server=106.14.89.110,1435;Database=Test_IRC;User ID=sa;Password=xc@123456;TrustServerCertificate=true";
|
||||
public static readonly string DbDatabase = "Test_IRC";
|
||||
//表名称用字符串,拼接
|
||||
public static readonly string TableName = "UserPassWordLog";
|
||||
public static readonly string TableName = "TrialBodyPart";
|
||||
//具体文件里面 例如service 可以配置是否分页
|
||||
}
|
||||
#>
|
||||
|
|
Loading…
Reference in New Issue