Merge branch 'Test_IRC_Net8' of https://gitea.frp.extimaging.com/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
9b9bbfbd5d
|
@ -203,7 +203,7 @@ namespace IRaCIS.Api.Controllers
|
|||
|
||||
if (!await _useRepository.AnyAsync(t => t.Id == Guid.Parse(userId) && t.EmailToken == token && t.IsFirstAdd))
|
||||
{
|
||||
decodeUrl = errorUrl + $"?lang={lang}&ErrorMessage={System.Web.HttpUtility.UrlEncode(lang == "zh" ? "您的初始化链接已过期" : "Error!The initialization link has expired. Return")} ";
|
||||
decodeUrl = errorUrl + $"?lang={lang}&ErrorMessage={System.Web.HttpUtility.UrlEncode(lang == "zh" ? "您的初始化链接已过期" : "Error!The initialization link has expired.")} ";
|
||||
}
|
||||
|
||||
return Redirect(decodeUrl);
|
||||
|
|
|
@ -169,6 +169,12 @@ namespace IRaCIS.Core.Application.Services
|
|||
{
|
||||
item.EnabledTime = DateTime.Now;
|
||||
}
|
||||
|
||||
if (await _trialSiteRepository.AnyAsync(t => t.TrialSiteCode == item.TrialSiteCode && t.TrialId == item.TrialId))
|
||||
{
|
||||
//---Code is not allowed to be repeated
|
||||
return ResponseOutput.NotOk(_localizer["TrialSite_CodeDuplicate"]);
|
||||
}
|
||||
}
|
||||
|
||||
await _trialSiteRepository.AddRangeAsync(addArray);
|
||||
|
|
|
@ -177,7 +177,7 @@ public partial class Trial : BaseFullDeleteAuditEntity
|
|||
|
||||
[MaxLength]
|
||||
public string BodyPartTypes { get; set; } = "鼻咽部|脑部|颈部|胸部|上/下腹部|盆腔|全身|其他";
|
||||
public string Modalitys { get; set; } = string.Empty;
|
||||
public string Modalitys { get; set; } = "CT|MRI";
|
||||
|
||||
[NotMapped]
|
||||
public List<string> ModalityList => Modalitys.Split('|', StringSplitOptions.RemoveEmptyEntries).Where(t => !string.IsNullOrEmpty(t)).ToList();
|
||||
|
|
Loading…
Reference in New Issue