IRC_NewDev
he 2024-10-22 15:25:07 +08:00
parent 056feade12
commit 22998ccb71
4 changed files with 55 additions and 0 deletions

View File

@ -16,6 +16,16 @@
public int VisitReadingCount { get; set; }
/// <summary>
/// 其他分期
/// </summary>
public string OtherStages { get; set; } = string.Empty;
/// <summary>
/// 其他标准
/// </summary>
public string OtherCriterion { get; set; } = string.Empty;
//public string Term { get; set; }
//public string EvaluationCriteria { get; set; }
@ -58,6 +68,16 @@
public Guid? GCPId { get; set; }
/// <summary>
/// GCP证书的时间
/// </summary>
public DateTime? GCPTime { get; set; }
/// <summary>
/// GCP机构
/// </summary>
public string GCPAgencies { get; set; }
public string OtherClinicalExperience { get; set; } = String.Empty;
public string OtherClinicalExperienceCN { get; set; } = String.Empty;
@ -75,6 +95,16 @@
public int GCP { get; set; }
public Guid? GCPId { get; set; }
/// <summary>
/// GCP证书的时间
/// </summary>
public DateTime? GCPTime { get; set; }
/// <summary>
/// GCP机构
/// </summary>
public string GCPAgencies { get; set; }
}
public class ClinicalExperienceCommand

View File

@ -30,6 +30,8 @@ namespace IRaCIS.Core.Application.Service
{
trialExperience.GCP = doctor.GCP;
trialExperience.Id = doctor.Id;
trialExperience.GCPTime = doctor.GCPTime;
trialExperience.GCPAgencies = doctor.GCPAgencies;
trialExperience.OtherClinicalExperience = doctor.OtherClinicalExperience ?? "";
trialExperience.OtherClinicalExperienceCN = doctor.OtherClinicalExperienceCN ?? "";
var attachment = await _attachmentRepository.FirstOrDefaultAsync(t => t.Id == doctor.GCPId);
@ -38,6 +40,7 @@ namespace IRaCIS.Core.Application.Service
trialExperience.ExpiryDateStr = attachment.ExpiryDate == null ? "" : attachment.ExpiryDate.Value.ToString("yyyy-MM-dd HH:mm");
trialExperience.Path = attachment.Path;
trialExperience.GCPFullPath = attachment.Path + "?access_token=" + _userInfo.UserToken;
trialExperience.Type = attachment.Type;
trialExperience.FileName = attachment.FileName;
@ -133,6 +136,8 @@ namespace IRaCIS.Core.Application.Service
var successs = await _doctorRepository.BatchUpdateNoTrackingAsync(o => o.Id == updateGCPExperienceParam.Id, u => new Doctor()
{
GCP = updateGCPExperienceParam.GCP,
GCPAgencies= updateGCPExperienceParam.GCPAgencies,
GCPTime= updateGCPExperienceParam.GCPTime,
GCPId = (updateGCPExperienceParam.GCP == 0 || updateGCPExperienceParam.GCPId == null) ? Guid.Empty : updateGCPExperienceParam.GCPId!.Value
});

View File

@ -81,6 +81,16 @@ public class Doctor : BaseFullAuditEntity
public int GCP { get; set; }
/// <summary>
/// GCP证书的时间
/// </summary>
public DateTime? GCPTime { get; set; }
/// <summary>
/// GCP机构
/// </summary>
public string GCPAgencies { get; set; }
public Guid GCPId { get; set; }
public Guid? HospitalId { get; set; }

View File

@ -21,4 +21,14 @@ public partial class TrialExperience : BaseFullAuditEntity
public DateTime? StartTime { get; set; }
public DateTime? EndTime { get; set; }
/// <summary>
/// 其他分期
/// </summary>
public string OtherStages { get; set; } = string.Empty;
/// <summary>
/// 其他标准
/// </summary>
public string OtherCriterion { get; set; } = string.Empty;
}