IRC_NewDev
parent
056feade12
commit
22998ccb71
|
@ -16,6 +16,16 @@
|
||||||
|
|
||||||
public int VisitReadingCount { get; set; }
|
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 Term { get; set; }
|
||||||
|
|
||||||
//public string EvaluationCriteria { get; set; }
|
//public string EvaluationCriteria { get; set; }
|
||||||
|
@ -58,6 +68,16 @@
|
||||||
|
|
||||||
public Guid? GCPId { get; set; }
|
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 OtherClinicalExperience { get; set; } = String.Empty;
|
||||||
public string OtherClinicalExperienceCN { get; set; } = String.Empty;
|
public string OtherClinicalExperienceCN { get; set; } = String.Empty;
|
||||||
|
|
||||||
|
@ -75,6 +95,16 @@
|
||||||
public int GCP { get; set; }
|
public int GCP { get; set; }
|
||||||
|
|
||||||
public Guid? GCPId { 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
|
public class ClinicalExperienceCommand
|
||||||
|
|
|
@ -30,6 +30,8 @@ namespace IRaCIS.Core.Application.Service
|
||||||
{
|
{
|
||||||
trialExperience.GCP = doctor.GCP;
|
trialExperience.GCP = doctor.GCP;
|
||||||
trialExperience.Id = doctor.Id;
|
trialExperience.Id = doctor.Id;
|
||||||
|
trialExperience.GCPTime = doctor.GCPTime;
|
||||||
|
trialExperience.GCPAgencies = doctor.GCPAgencies;
|
||||||
trialExperience.OtherClinicalExperience = doctor.OtherClinicalExperience ?? "";
|
trialExperience.OtherClinicalExperience = doctor.OtherClinicalExperience ?? "";
|
||||||
trialExperience.OtherClinicalExperienceCN = doctor.OtherClinicalExperienceCN ?? "";
|
trialExperience.OtherClinicalExperienceCN = doctor.OtherClinicalExperienceCN ?? "";
|
||||||
var attachment = await _attachmentRepository.FirstOrDefaultAsync(t => t.Id == doctor.GCPId);
|
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.ExpiryDateStr = attachment.ExpiryDate == null ? "" : attachment.ExpiryDate.Value.ToString("yyyy-MM-dd HH:mm");
|
||||||
|
|
||||||
trialExperience.Path = attachment.Path;
|
trialExperience.Path = attachment.Path;
|
||||||
|
|
||||||
trialExperience.GCPFullPath = attachment.Path + "?access_token=" + _userInfo.UserToken;
|
trialExperience.GCPFullPath = attachment.Path + "?access_token=" + _userInfo.UserToken;
|
||||||
trialExperience.Type = attachment.Type;
|
trialExperience.Type = attachment.Type;
|
||||||
trialExperience.FileName = attachment.FileName;
|
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()
|
var successs = await _doctorRepository.BatchUpdateNoTrackingAsync(o => o.Id == updateGCPExperienceParam.Id, u => new Doctor()
|
||||||
{
|
{
|
||||||
GCP = updateGCPExperienceParam.GCP,
|
GCP = updateGCPExperienceParam.GCP,
|
||||||
|
GCPAgencies= updateGCPExperienceParam.GCPAgencies,
|
||||||
|
GCPTime= updateGCPExperienceParam.GCPTime,
|
||||||
GCPId = (updateGCPExperienceParam.GCP == 0 || updateGCPExperienceParam.GCPId == null) ? Guid.Empty : updateGCPExperienceParam.GCPId!.Value
|
GCPId = (updateGCPExperienceParam.GCP == 0 || updateGCPExperienceParam.GCPId == null) ? Guid.Empty : updateGCPExperienceParam.GCPId!.Value
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -81,6 +81,16 @@ public class Doctor : BaseFullAuditEntity
|
||||||
|
|
||||||
public int GCP { get; set; }
|
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 GCPId { get; set; }
|
||||||
|
|
||||||
public Guid? HospitalId { get; set; }
|
public Guid? HospitalId { get; set; }
|
||||||
|
|
|
@ -21,4 +21,14 @@ public partial class TrialExperience : BaseFullAuditEntity
|
||||||
public DateTime? StartTime { get; set; }
|
public DateTime? StartTime { get; set; }
|
||||||
|
|
||||||
public DateTime? EndTime { 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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue