修改后处理上传
continuous-integration/drone/push Build is passing Details

IRC_NewDev
hang 2024-11-04 10:14:14 +08:00
parent 68052766f8
commit 317184ba7a
3 changed files with 10 additions and 2 deletions

View File

@ -66,5 +66,13 @@
"ApiPathList": [ "ApiPathList": [
"/test/get" "/test/get"
] ]
},
"oauth": {
"github": {
"app_id": "github_app_id",
"app_key": "github_app_key",
"redirect_uri": "https://oauthlogin.net/oauth/githubcallback",
"scope": "repo"
}
} }
} }

View File

@ -325,7 +325,7 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
if (findStudy.SubejectCode == inCommand.SubjectCode && findStudy.SubjectId == inCommand.SubjectId) if (findStudy.SubejectCode == inCommand.SubjectCode && findStudy.SubjectId == inCommand.SubjectId)
{ {
//上传给后处理其他访视了 //上传给后处理其他访视了
if (inCommand.VisitTaskId != null && findStudy.VisitTaskId != null && findStudy.VisitTaskId != inCommand.VisitTaskId) if (inCommand.VisitTaskId != null && findStudy.VisitTaskId != null && findStudy.VisitTaskId != inCommand.VisitTaskId && findStudy.SubjectVisitId != currentUploadSubjectVisitId)
{ {
result.Add(new TaskStudyArchiveConfirmResult() { StudyInstanceUid = studyUid, IsAllowReUpload = false, IsAllowUpload = false }); result.Add(new TaskStudyArchiveConfirmResult() { StudyInstanceUid = studyUid, IsAllowReUpload = false, IsAllowUpload = false });
} }

View File

@ -185,8 +185,8 @@ namespace IRaCIS.Core.Application.Service
// 格式化并输出 JSON // 格式化并输出 JSON
var formattedJson = jsonObject.ToString(Formatting.Indented); var formattedJson = jsonObject.ToString(Formatting.Indented);
Console.WriteLine(formattedJson);
Console.WriteLine(formattedJson);
var tokenResponse=JsonConvert.DeserializeObject<LogtoTokenResponse>(responseBody); var tokenResponse=JsonConvert.DeserializeObject<LogtoTokenResponse>(responseBody);