归档增加字段-三个影像层级表

This commit is contained in:
2025-10-22 10:25:11 +08:00
parent 8cabc8c96a
commit 7a37c01b7f
19 changed files with 22096 additions and 22 deletions
@@ -302,6 +302,19 @@ namespace IRaCIS.Core.Application.Contracts
#region
/// <summary>
/// 获取该中心最新调表信息 如果没有任何调研表,会返回null
/// </summary>
/// <param name="trialSiteId"></param>
/// <returns></returns>
public async Task<TrialSiteSurveyView?> GetTrialSiteLatestSurvey(Guid trialSiteId)
{
return await _trialSiteSurveyRepository.Where(t => t.TrialSiteId == trialSiteId).OrderByDescending(t => t.CreateTime).ProjectTo<TrialSiteSurveyView>(_mapper.ConfigurationProvider).FirstOrDefaultAsync();
}
/// <summary>
/// 初始登陆界面 项目基本信息+下拉框数据
/// </summary>
@@ -631,11 +644,11 @@ namespace IRaCIS.Core.Application.Contracts
copy.State = TrialSiteSurveyEnum.ToSubmit;
copy.IsDeleted = false;
copy.Phone = string.Empty;
copy.UserName = string.Empty;
//copy.Phone = string.Empty;
//copy.UserName = string.Empty;
copy.Email = userInfo.EmailOrPhone;
copy.Id = Guid.Empty;
copy.CreateTime = DateAndTime.Now;
copy.CreateTime = DateTime.Now;
if (userInfo.ReplaceUserEmailOrPhone != userInfo.EmailOrPhone)
{