感谢您使用展影云平台。
diff --git a/IRaCIS.Core.API/wwwroot/EmailTemplate/UserOptCommon_US.html b/IRaCIS.Core.API/wwwroot/EmailTemplate/UserOptCommon_US.html
new file mode 100644
index 000000000..f9bc2f21b
--- /dev/null
+++ b/IRaCIS.Core.API/wwwroot/EmailTemplate/UserOptCommon_US.html
@@ -0,0 +1,28 @@
+
+
+
+
+
Title
+
+
+
+
+
+ Dear {0},
+
+
+ Thank you for using Extensive Imaging Cloud System.
+
+
+ {1}, the verification code is {2}. Enter the verification code within 3 minutes for subsequent operations. Please ignore this email if not by yourself.
+
+
+
+
+
Best Regards
+
Shanghai Extensive Imaging Medical Technology Co., LTD
+
+
+
+
+
diff --git a/IRaCIS.Core.Application/Service/Common/MailService.cs b/IRaCIS.Core.Application/Service/Common/MailService.cs
index 2fb174888..f6cf2a275 100644
--- a/IRaCIS.Core.Application/Service/Common/MailService.cs
+++ b/IRaCIS.Core.Application/Service/Common/MailService.cs
@@ -110,7 +110,8 @@ namespace IRaCIS.Application.Services
+ Path.DirectorySeparatorChar.ToString()
+ "EmailTemplate"
+ Path.DirectorySeparatorChar.ToString()
- + "UserOptCommon.html";
+ //+ "UserOptCommon.html";
+ +(_userInfo.IsEn_Us ? "UserOptCommon_US.html" : "UserOptCommon.html");
using (StreamReader SourceReader = System.IO.File.OpenText(pathToFile))
{
@@ -176,7 +177,8 @@ namespace IRaCIS.Application.Services
+ Path.DirectorySeparatorChar.ToString()
+ "EmailTemplate"
+ Path.DirectorySeparatorChar.ToString()
- + "UserOptCommon.html";
+ //+ "UserOptCommon.html";
+ + (_userInfo.IsEn_Us ? "UserOptCommon_US.html" : "UserOptCommon.html");
using (StreamReader SourceReader = System.IO.File.OpenText(pathToFile))
{
@@ -244,7 +246,7 @@ namespace IRaCIS.Application.Services
+ Path.DirectorySeparatorChar.ToString()
+ "EmailTemplate"
+ Path.DirectorySeparatorChar.ToString()
- + "UserOptCommon.html";
+ + (_userInfo.IsEn_Us ? "UserOptCommon_US.html": "UserOptCommon.html" );
using (StreamReader SourceReader = System.IO.File.OpenText(pathToFile))
{
@@ -310,7 +312,8 @@ namespace IRaCIS.Application.Services
+ Path.DirectorySeparatorChar.ToString()
+ "EmailTemplate"
+ Path.DirectorySeparatorChar.ToString()
- + "UserOptCommon.html";
+ //+ "UserOptCommon.html";
+ + (_userInfo.IsEn_Us ? "UserOptCommon_US.html" : "UserOptCommon.html");
using (StreamReader SourceReader = System.IO.File.OpenText(pathToFile))
{
@@ -388,7 +391,8 @@ namespace IRaCIS.Application.Services
+ Path.DirectorySeparatorChar.ToString()
+ "EmailTemplate"
+ Path.DirectorySeparatorChar.ToString()
- + "AdminAddUser.html";
+ //+ "AdminAddUser.html";
+ + (_userInfo.IsEn_Us ? "AdminAddUser_US.html" : "AdminAddUser.html");
var token = _tokenService.GetToken(IRaCISClaims.Create(_mapper.Map
(sysUserInfo)));
@@ -443,7 +447,8 @@ namespace IRaCIS.Application.Services
+ Path.DirectorySeparatorChar.ToString()
+ "EmailTemplate"
+ Path.DirectorySeparatorChar.ToString()
- + "AdminResetUser.html";
+ //+ "AdminResetUser.html";
+ + (_userInfo.IsEn_Us ? "AdminResetUser_US.html" : "AdminResetUser.html");
using (StreamReader SourceReader = System.IO.File.OpenText(pathToFile))
@@ -501,7 +506,7 @@ namespace IRaCIS.Application.Services
+ Path.DirectorySeparatorChar.ToString()
+ "EmailTemplate"
+ Path.DirectorySeparatorChar.ToString()
- + (sysUserInfo.IsFirstAdd ? "TrialUserFirstJoin.html" : "TrialUserExistJoin.html");
+ + (sysUserInfo.IsFirstAdd ? (_userInfo.IsEn_Us ? "TrialUserFirstJoin_US.html" : "TrialUserFirstJoin.html") : (_userInfo.IsEn_Us ? "TrialUserExistJoin_US.html" : "TrialUserExistJoin.html"));
using (StreamReader SourceReader = System.IO.File.OpenText(pathToFile))
{
@@ -563,7 +568,7 @@ namespace IRaCIS.Application.Services
+ Path.DirectorySeparatorChar.ToString()
+ "EmailTemplate"
+ Path.DirectorySeparatorChar.ToString()
- + (sysUserInfo.IsFirstAdd ? "TrialUserFirstJoin.html" : "TrialUserExistJoin.html");
+ + (sysUserInfo.IsFirstAdd ? (_userInfo.IsEn_Us ? "TrialUserFirstJoin_US.html" : "TrialUserFirstJoin.html") : (_userInfo.IsEn_Us ? "TrialUserExistJoin_US.html" : "TrialUserExistJoin.html") );
using (StreamReader SourceReader = System.IO.File.OpenText(pathToFile))
{
@@ -683,7 +688,7 @@ namespace IRaCIS.Application.Services
+ Path.DirectorySeparatorChar.ToString()
+ "EmailTemplate"
+ Path.DirectorySeparatorChar.ToString()
- + (sysUserInfo.IsFirstAdd ? "TrialDoctorFirstJoin.html" : "TrialDoctorExistJoin.html");
+ + (sysUserInfo.IsFirstAdd ? (_userInfo.IsEn_Us ? "TrialDoctorFirstJoin_US.html" : "TrialDoctorFirstJoin.html") : (_userInfo.IsEn_Us ? "TrialDoctorExistJoin_US.html" : "TrialDoctorExistJoin.html") );
using (StreamReader SourceReader = System.IO.File.OpenText(pathToFile))
{
diff --git a/IRaCIS.Core.Application/Service/Document/TrialEmailNoticeConfigService.cs b/IRaCIS.Core.Application/Service/Document/TrialEmailNoticeConfigService.cs
index 1330b369b..0abc0654d 100644
--- a/IRaCIS.Core.Application/Service/Document/TrialEmailNoticeConfigService.cs
+++ b/IRaCIS.Core.Application/Service/Document/TrialEmailNoticeConfigService.cs
@@ -431,7 +431,8 @@ namespace IRaCIS.Core.Application.Service
+ Path.DirectorySeparatorChar.ToString()
+ "EmailTemplate"
+ Path.DirectorySeparatorChar.ToString()
- + "SubjectEnrollConfirmOrPDProgress.html";
+ //+ "SubjectEnrollConfirmOrPDProgress.html";
+ + (_userInfo.IsEn_Us ? "SubjectEnrollConfirmOrPDProgress_US.html" : "SubjectEnrollConfirmOrPDProgress.html");
#endregion
@@ -1458,7 +1459,9 @@ namespace IRaCIS.Core.Application.Service
+ Path.DirectorySeparatorChar.ToString()
+ "EmailTemplate"
+ Path.DirectorySeparatorChar.ToString()
- + "EmailConfigTest.html";
+ //+ "EmailConfigTest.html";
+
+ + (_userInfo.IsEn_Us ? "EmailConfigTest_US.html" : "EmailConfigTest.html");
//---项目邮件测试
diff --git a/IRaCIS.Core.Application/Service/ImageAndDoc/DTO/UnionStudyViewDodel.cs b/IRaCIS.Core.Application/Service/ImageAndDoc/DTO/UnionStudyViewDodel.cs
index 9c9ca883b..3dd2e1d52 100644
--- a/IRaCIS.Core.Application/Service/ImageAndDoc/DTO/UnionStudyViewDodel.cs
+++ b/IRaCIS.Core.Application/Service/ImageAndDoc/DTO/UnionStudyViewDodel.cs
@@ -217,12 +217,9 @@ namespace IRaCIS.Core.Application.Contracts
public class AddOrUpdateStudyDto
{
- public Guid? Id { get; set; }
public string StudyId { get; set; } = string.Empty;
-
-
-
+
//public int Code { get; set; } = 0;
//public string StudyCode { get; set; } = string.Empty;
@@ -257,7 +254,6 @@ namespace IRaCIS.Core.Application.Contracts
public class AddOrUpdateSeriesDto
{
- public Guid? Id { get; set; }
public string StudyInstanceUid { get; set; }
public string SeriesInstanceUid { get; set; }
public int SeriesNumber { get; set; }
diff --git a/IRaCIS.Core.Application/Service/ImageAndDoc/StudyService.cs b/IRaCIS.Core.Application/Service/ImageAndDoc/StudyService.cs
index ac3691d2e..db6cb1b7e 100644
--- a/IRaCIS.Core.Application/Service/ImageAndDoc/StudyService.cs
+++ b/IRaCIS.Core.Application/Service/ImageAndDoc/StudyService.cs
@@ -205,7 +205,7 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
else
{
- var studyId = incommand.Study.Id;
+ var studyId = IdentifierHelper.CreateGuid(incommand.Study.StudyInstanceUid, incommand.TrialId.ToString());;
var study = await _dicomstudyRepository.FirstOrDefaultAsync(t => t.Id == studyId);
@@ -214,7 +214,6 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
//特殊处理逻辑
SpecialArchiveStudyDeal(study);
- //await _dicomSeriesRepository.BatchDeleteNoTrackingAsync(t => t.StudyId == incommand.Study.Id);
// 少了整个序列
@@ -245,9 +244,7 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
dicomSeries= await _dicomSeriesRepository.AddAsync(series);
//新的序列 那么 检查的序列数量+1
- study.SeriesCount += 1;
-
-
+ study.SeriesCount += 1;
}
else
{