修改dicomAE 测试状态
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
63e2ca07b5
commit
d62562149c
|
@ -9920,7 +9920,7 @@
|
|||
<param name="trialId"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:IRaCIS.Core.Application.Service.TrialDicomAEService.TestSCPServerConnect(System.Guid)">
|
||||
<member name="M:IRaCIS.Core.Application.Service.TrialDicomAEService.TestSCPServerConnect(IRaCIS.Core.Application.ViewModel.TestAECommand)">
|
||||
<summary>
|
||||
测试scp server 是否可以连接
|
||||
</summary>
|
||||
|
|
|
@ -19,7 +19,6 @@ namespace IRaCIS.Core.Application.ViewModel
|
|||
|
||||
public DateTime? LatestTestTime { get; set; }
|
||||
|
||||
public bool IsTestOK { get; set; }
|
||||
|
||||
//public bool IsPACSConnect { get; set; }
|
||||
|
||||
|
@ -62,7 +61,7 @@ namespace IRaCIS.Core.Application.ViewModel
|
|||
|
||||
public bool IsPACSConnect { get; set; }
|
||||
|
||||
public bool IsTestOK { get; set; }
|
||||
public bool? IsTestOK { get; set; }
|
||||
}
|
||||
|
||||
public class TestAECommand
|
||||
|
|
|
@ -24,6 +24,7 @@ using System.Linq.Expressions;
|
|||
using System.Reflection.Metadata;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using Xceed.Words.NET;
|
||||
|
||||
|
||||
namespace IRaCIS.Application.Services
|
||||
|
@ -204,6 +205,32 @@ namespace IRaCIS.Application.Services
|
|||
public async Task<string> testEmail([FromServices] IWebHostEnvironment env ,string email)
|
||||
{
|
||||
|
||||
//using (DocX document = DocX.Load("C:\\Users\\hang\\Desktop\\"))
|
||||
//{
|
||||
// // 查找书签对应的段落
|
||||
// var bookmark = document.Bookmarks.FirstOrDefault(b => b.Name == bookmarkName);
|
||||
|
||||
// if (bookmark != null)
|
||||
// {
|
||||
// // 获取书签所在的段落位置
|
||||
// int paragraphIndex = document.Paragraphs.IndexOf(bookmark.Paragraph);
|
||||
|
||||
// // 如果书签所在的段落在文档中
|
||||
// if (paragraphIndex >= 0)
|
||||
// {
|
||||
// // 删除书签所在的段落
|
||||
// document.RemoveParagraphAt(paragraphIndex);
|
||||
// }
|
||||
|
||||
// // 删除书签(只删除书签标记,不删除内容)
|
||||
// document.Bookmarks.Remove(bookmark);
|
||||
// }
|
||||
|
||||
// // 保存修改
|
||||
// document.Save();
|
||||
//}
|
||||
|
||||
|
||||
var hiddenEmail = EmailMaskHelper.MaskEmail(email);
|
||||
|
||||
return hiddenEmail;
|
||||
|
|
|
@ -45,7 +45,7 @@ namespace IRaCIS.Core.Domain.Models
|
|||
|
||||
public DateTime? LatestTestTime { get; set; }
|
||||
|
||||
public bool IsTestOK { get; set; }
|
||||
public bool? IsTestOK { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue