From 6d898367e4e3585f989a7eff6e5a9f737a73c635 Mon Sep 17 00:00:00 2001
From: hang <872297557@qq.com>
Date: Thu, 1 Feb 2024 15:09:54 +0800
Subject: [PATCH 1/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9gcp=20bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
IRaCIS.Core.API/appsettings.Prod_IRC.json | 8 ++++----
IRaCIS.Core.Application/IRaCIS.Core.Application.xml | 2 +-
.../Service/Doctor/TrialExperienceService.cs | 6 +++---
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/IRaCIS.Core.API/appsettings.Prod_IRC.json b/IRaCIS.Core.API/appsettings.Prod_IRC.json
index 7ab799f53..ed5fcf962 100644
--- a/IRaCIS.Core.API/appsettings.Prod_IRC.json
+++ b/IRaCIS.Core.API/appsettings.Prod_IRC.json
@@ -7,10 +7,10 @@
}
},
"ConnectionStrings": {
- //"RemoteNew": "Server=47.117.165.18,1434;Database=Prod_IRC;User ID=sa;Password=zhanying@2021;TrustServerCertificate=true",
- //"Hangfire": "Server=47.117.165.18,1434;Database=Prod_IRC_Hangfire;User ID=sa;Password=zhanying@2021;TrustServerCertificate=true",
- "RemoteNew": "Server=prod_mssql_standard,1433;Database=Prod_IRC;User ID=sa;Password=zhanying@2021;TrustServerCertificate=true",
- "Hangfire": "Server=prod_mssql_standard,1433;Database=Prod_IRC_Hangfire;User ID=sa;Password=zhanying@2021;TrustServerCertificate=true"
+ "RemoteNew": "Server=47.117.165.18,1434;Database=Prod_IRC;User ID=sa;Password=zhanying@2021;TrustServerCertificate=true",
+ "Hangfire": "Server=47.117.165.18,1434;Database=Prod_IRC_Hangfire;User ID=sa;Password=zhanying@2021;TrustServerCertificate=true"
+ //"RemoteNew": "Server=prod_mssql_standard,1433;Database=Prod_IRC;User ID=sa;Password=zhanying@2021;TrustServerCertificate=true",
+ //"Hangfire": "Server=prod_mssql_standard,1433;Database=Prod_IRC_Hangfire;User ID=sa;Password=zhanying@2021;TrustServerCertificate=true"
},
"ObjectStoreService": {
"ObjectStoreUse": "AliyunOSS",
diff --git a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
index b1d9efd92..6457c0114 100644
--- a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
+++ b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
@@ -13403,7 +13403,7 @@
- 拆分病灶
+ 拆分病灶 分裂病灶
diff --git a/IRaCIS.Core.Application/Service/Doctor/TrialExperienceService.cs b/IRaCIS.Core.Application/Service/Doctor/TrialExperienceService.cs
index 6f629e9db..f586e498b 100644
--- a/IRaCIS.Core.Application/Service/Doctor/TrialExperienceService.cs
+++ b/IRaCIS.Core.Application/Service/Doctor/TrialExperienceService.cs
@@ -147,12 +147,12 @@ namespace IRaCIS.Application.Services
var successs = await _repository.BatchUpdateAsync(o => o.Id == updateGCPExperienceParam.Id, u => new Doctor()
{
GCP = updateGCPExperienceParam.GCP,
- GCPId = updateGCPExperienceParam.GCP==0&&updateGCPExperienceParam.GCPId==null?Guid.Empty: updateGCPExperienceParam.GCPId!.Value
+ GCPId = (updateGCPExperienceParam.GCP==0||updateGCPExperienceParam.GCPId==null)?Guid.Empty: updateGCPExperienceParam.GCPId!.Value
});
- if (updateGCPExperienceParam.GCP == 0 && updateGCPExperienceParam.GCPId != null)
+ if (updateGCPExperienceParam.GCP == 0 )
{
- await _repository.BatchDeleteAsync(a => a.Id == updateGCPExperienceParam.GCPId);
+ await _repository.BatchDeleteAsync(a => a.DoctorId == updateGCPExperienceParam.Id && a.Type=="GCP");
}
return ResponseOutput.Result(successs, updateGCPExperienceParam.GCPId.ToString());
From 65c31fb457489f398a401ecebdde04fac88c5a9c Mon Sep 17 00:00:00 2001
From: hang <872297557@qq.com>
Date: Thu, 1 Feb 2024 15:37:05 +0800
Subject: [PATCH 2/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?=
=?UTF-8?q?=E6=96=87=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
IRaCIS.Core.API/appsettings.Prod_IRC.json | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/IRaCIS.Core.API/appsettings.Prod_IRC.json b/IRaCIS.Core.API/appsettings.Prod_IRC.json
index ed5fcf962..e811769da 100644
--- a/IRaCIS.Core.API/appsettings.Prod_IRC.json
+++ b/IRaCIS.Core.API/appsettings.Prod_IRC.json
@@ -7,10 +7,10 @@
}
},
"ConnectionStrings": {
- "RemoteNew": "Server=47.117.165.18,1434;Database=Prod_IRC;User ID=sa;Password=zhanying@2021;TrustServerCertificate=true",
- "Hangfire": "Server=47.117.165.18,1434;Database=Prod_IRC_Hangfire;User ID=sa;Password=zhanying@2021;TrustServerCertificate=true"
- //"RemoteNew": "Server=prod_mssql_standard,1433;Database=Prod_IRC;User ID=sa;Password=zhanying@2021;TrustServerCertificate=true",
- //"Hangfire": "Server=prod_mssql_standard,1433;Database=Prod_IRC_Hangfire;User ID=sa;Password=zhanying@2021;TrustServerCertificate=true"
+ // "RemoteNew": "Server=47.117.165.18,1434;Database=Prod_IRC;User ID=sa;Password=zhanying@2021;TrustServerCertificate=true",
+ // "Hangfire": "Server=47.117.165.18,1434;Database=Prod_IRC_Hangfire;User ID=sa;Password=zhanying@2021;TrustServerCertificate=true"
+ "RemoteNew": "Server=prod_mssql_standard,1433;Database=Prod_IRC;User ID=sa;Password=zhanying@2021;TrustServerCertificate=true",
+ "Hangfire": "Server=prod_mssql_standard,1433;Database=Prod_IRC_Hangfire;User ID=sa;Password=zhanying@2021;TrustServerCertificate=true"
},
"ObjectStoreService": {
"ObjectStoreUse": "AliyunOSS",
From 5e3e242981b4055b163939f37e9a2bb7a5418465 Mon Sep 17 00:00:00 2001
From: hang <872297557@qq.com>
Date: Fri, 2 Feb 2024 15:02:09 +0800
Subject: [PATCH 3/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=82=AE=E4=BB=B6?=
=?UTF-8?q?=E5=8F=91=E9=80=81bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
IRaCIS.Core.Application/Service/Common/MailService.cs | 1 +
1 file changed, 1 insertion(+)
diff --git a/IRaCIS.Core.Application/Service/Common/MailService.cs b/IRaCIS.Core.Application/Service/Common/MailService.cs
index 5cc9fc487..7a785f1b7 100644
--- a/IRaCIS.Core.Application/Service/Common/MailService.cs
+++ b/IRaCIS.Core.Application/Service/Common/MailService.cs
@@ -248,6 +248,7 @@ namespace IRaCIS.Application.Services
builder.HtmlBody = string.Format(templateInfo,
+ "",
//---您正在参与展影医疗IRC项目
_localizer["Mail_IRCProject"],
verificationCode
From 5660d2e83b9745f676f1e2e77140ddbe9e891a9b Mon Sep 17 00:00:00 2001
From: hang <872297557@qq.com>
Date: Fri, 2 Feb 2024 15:44:54 +0800
Subject: [PATCH 4/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8C=BB=E7=94=9F?=
=?UTF-8?q?=E8=87=AA=E5=B7=B1=E7=BC=96=E8=BE=91=E4=BF=A1=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Service/SiteSurvey/TrialSiteSurveyService.cs | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/IRaCIS.Core.Application/Service/SiteSurvey/TrialSiteSurveyService.cs b/IRaCIS.Core.Application/Service/SiteSurvey/TrialSiteSurveyService.cs
index 5bedfb6b6..6403d929a 100644
--- a/IRaCIS.Core.Application/Service/SiteSurvey/TrialSiteSurveyService.cs
+++ b/IRaCIS.Core.Application/Service/SiteSurvey/TrialSiteSurveyService.cs
@@ -108,6 +108,14 @@ namespace IRaCIS.Core.Application.Contracts
}
else //验证码正确 并且 没有超时
{
+ var dockerInfo=await _repository.Where(t=>t.EMail==inDto.EmailOrPhone||t.Phone==inDto.EmailOrPhone).FirstOrDefaultAsync();
+
+ if (dockerInfo != null)
+ {
+ result.DoctorId = dockerInfo.Id;
+ result.ReviewStatus = dockerInfo.ReviewStatus;
+ }
+
result.Token = _tokenService.GetToken(IRaCISClaims.Create(new UserBasicInfo()));
}
}
From 98cf2adf9239847895be5cc4a59bf4dc8a7032c1 Mon Sep 17 00:00:00 2001
From: hang <872297557@qq.com>
Date: Fri, 16 Feb 2024 21:39:57 +0800
Subject: [PATCH 5/7] =?UTF-8?q?[=E4=BF=AE=E6=94=B9=E7=AD=BE=E5=90=8D?=
=?UTF-8?q?=E7=8A=B6=E6=80=81]?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Service/Document/DTO/SystemDocumentViewModel.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs b/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs
index b33935873..a1521c141 100644
--- a/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs
+++ b/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs
@@ -42,9 +42,9 @@ namespace IRaCIS.Core.Application.Contracts
public Guid? ConfirmUserId { get; set; }
- public bool IsConfirmed { get; set; }
+ public bool IsConfirmed => ConfirmTime is not null;
- public string UserName { get; set; } = string.Empty;
+ public string UserName { get; set; } = string.Empty;
public string RealName { get; set; } = string.Empty;
From 6419fa6e6156ce356c69a59c9792767613b1f5aa Mon Sep 17 00:00:00 2001
From: hang <872297557@qq.com>
Date: Fri, 16 Feb 2024 22:08:52 +0800
Subject: [PATCH 6/7] =?UTF-8?q?[=E4=BF=AE=E6=94=B9bug]?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Service/Document/DTO/SystemDocumentViewModel.cs | 2 +-
.../Service/Document/TrialDocumentService.cs | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs b/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs
index a1521c141..0f001cccb 100644
--- a/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs
+++ b/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs
@@ -42,7 +42,7 @@ namespace IRaCIS.Core.Application.Contracts
public Guid? ConfirmUserId { get; set; }
- public bool IsConfirmed => ConfirmTime is not null;
+ public bool IsConfirmed { get; set; }
public string UserName { get; set; } = string.Empty;
diff --git a/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs b/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs
index e0d28710f..31425bf20 100644
--- a/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs
+++ b/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs
@@ -194,6 +194,7 @@ namespace IRaCIS.Core.Application.Services
FullFilePath = needConfirmedUserType.SystemDocument.Path,
+ IsConfirmed = confirm.ConfirmTime != null,
ConfirmUserId = confirm.ConfirmUserId,
ConfirmTime = confirm.ConfirmTime,
RealName = trialUser.User.FullName,
@@ -225,6 +226,7 @@ namespace IRaCIS.Core.Application.Services
UpdateTime = trialDoc.UpdateTime,
SignViewMinimumMinutes = trialDoc.SignViewMinimumMinutes,
+ IsConfirmed = confirm.ConfirmTime != null,
ConfirmUserId = confirm.ConfirmUserId,
ConfirmTime = confirm.ConfirmTime,
RealName = trialUser.User.FullName,
From 103ab700fc8fbb9325961d2042c9d9d2cbcfab70 Mon Sep 17 00:00:00 2001
From: hang <872297557@qq.com>
Date: Mon, 19 Feb 2024 09:56:48 +0800
Subject: [PATCH 7/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9F=A5=E8=AF=A2?=
=?UTF-8?q?=E6=9D=A1=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Service/Document/DTO/SystemDocumentViewModel.cs | 2 +-
.../Service/Document/TrialDocumentService.cs | 13 +++++++------
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs b/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs
index 0f001cccb..cefd27089 100644
--- a/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs
+++ b/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs
@@ -42,7 +42,7 @@ namespace IRaCIS.Core.Application.Contracts
public Guid? ConfirmUserId { get; set; }
- public bool IsConfirmed { get; set; }
+ public bool IsConfirmed => ConfirmTime != null;
public string UserName { get; set; } = string.Empty;
diff --git a/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs b/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs
index 31425bf20..d4309f64f 100644
--- a/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs
+++ b/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs
@@ -194,7 +194,7 @@ namespace IRaCIS.Core.Application.Services
FullFilePath = needConfirmedUserType.SystemDocument.Path,
- IsConfirmed = confirm.ConfirmTime != null,
+ //IsConfirmed = confirm.ConfirmTime != null,
ConfirmUserId = confirm.ConfirmUserId,
ConfirmTime = confirm.ConfirmTime,
RealName = trialUser.User.FullName,
@@ -226,7 +226,7 @@ namespace IRaCIS.Core.Application.Services
UpdateTime = trialDoc.UpdateTime,
SignViewMinimumMinutes = trialDoc.SignViewMinimumMinutes,
- IsConfirmed = confirm.ConfirmTime != null,
+ //IsConfirmed = confirm.ConfirmTime != null,
ConfirmUserId = confirm.ConfirmUserId,
ConfirmTime = confirm.ConfirmTime,
RealName = trialUser.User.FullName,
@@ -362,7 +362,7 @@ namespace IRaCIS.Core.Application.Services
FileTypeId = trialDocumentNeedConfirmedUserType.TrialDocument.FileTypeId,
FileType = _userInfo.IsEn_Us ? trialDocumentNeedConfirmedUserType.TrialDocument.FileType.Value : trialDocumentNeedConfirmedUserType.TrialDocument.FileType.ValueCN,
UpdateTime = trialDocumentNeedConfirmedUserType.TrialDocument.UpdateTime,
- IsConfirmed= confirm.ConfirmTime!=null,
+ //IsConfirmed= confirm.ConfirmTime!=null,
@@ -398,7 +398,7 @@ namespace IRaCIS.Core.Application.Services
FileType = _userInfo.IsEn_Us ? needConfirmEdUserType.SystemDocument.FileType.Value : needConfirmEdUserType.SystemDocument.FileType.ValueCN,
FileTypeId = needConfirmEdUserType.SystemDocument.FileTypeId,
UpdateTime = needConfirmEdUserType.SystemDocument.UpdateTime,
- IsConfirmed = confirm.ConfirmTime != null,
+ //IsConfirmed = confirm.ConfirmTime != null,
ConfirmUserId = confirm.ConfirmUserId,
ConfirmTime = confirm.ConfirmTime,
@@ -413,8 +413,9 @@ namespace IRaCIS.Core.Application.Services
var unionQuery = trialDocQuery.Union(systemDocQuery)
.WhereIf(!string.IsNullOrEmpty(querySystemDocument.Name), t => t.Name.Contains(querySystemDocument.Name))
.WhereIf(querySystemDocument.FileTypeId != null, t => t.FileTypeId == querySystemDocument.FileTypeId)
- .WhereIf(querySystemDocument.IsConfirmed != null, t => t.IsConfirmed == querySystemDocument.IsConfirmed)
- .WhereIf(querySystemDocument.IsDeleted != null, t => t.IsDeleted == querySystemDocument.IsDeleted)
+ .WhereIf(querySystemDocument.IsConfirmed == true, t => t.ConfirmTime != null)
+ .WhereIf(querySystemDocument.IsConfirmed == false, t => t.ConfirmTime == null)
+ .WhereIf(querySystemDocument.IsDeleted != null, t => t.IsDeleted == querySystemDocument.IsDeleted)
.WhereIf(querySystemDocument.UserTypeId != null, t => t.UserTypeId == querySystemDocument.UserTypeId);
var result = await unionQuery.ToPagedListAsync(querySystemDocument.PageIndex, querySystemDocument.PageSize, querySystemDocument.SortField, querySystemDocument.Asc);