Merge branch 'Test_IRC_Net8' of http://192.168.3.68:2000/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-10-22 15:30:40 +08:00
8 changed files with 18094 additions and 0 deletions
@@ -17007,6 +17007,36 @@
标准类型
</summary>
</member>
<member name="P:IRaCIS.Application.Contracts.TrialExperienceCommand.OtherStages">
<summary>
其他分期
</summary>
</member>
<member name="P:IRaCIS.Application.Contracts.TrialExperienceCommand.OtherCriterion">
<summary>
其他标准
</summary>
</member>
<member name="P:IRaCIS.Application.Contracts.GcpAndOtherExperienceDTO.GCPTime">
<summary>
GCP证书的时间
</summary>
</member>
<member name="P:IRaCIS.Application.Contracts.GcpAndOtherExperienceDTO.GCPAgencies">
<summary>
GCP机构
</summary>
</member>
<member name="P:IRaCIS.Application.Contracts.GCPExperienceCommand.GCPTime">
<summary>
GCP证书的时间
</summary>
</member>
<member name="P:IRaCIS.Application.Contracts.GCPExperienceCommand.GCPAgencies">
<summary>
GCP机构
</summary>
</member>
<member name="P:IRaCIS.Application.Contracts.UserBasicInfo.LastLoginIP">
<summary>
LastLoginIP
@@ -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
@@ -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
});