diff --git a/IRaCIS.Core.API/Controllers/UploadDownLoadController.cs b/IRaCIS.Core.API/Controllers/UploadDownLoadController.cs
index 34193ceeb..73efc46c6 100644
--- a/IRaCIS.Core.API/Controllers/UploadDownLoadController.cs
+++ b/IRaCIS.Core.API/Controllers/UploadDownLoadController.cs
@@ -402,7 +402,7 @@ namespace IRaCIS.Core.API.Controllers
}
- catch (Exception ex)
+ catch (Exception )
{
_provider.Remove($"StudyUid_{trialId}_{archiveStudyCommand.StudyInstanceUid}");
diff --git a/IRaCIS.Core.Application/Helper/FileStoreHelper.cs b/IRaCIS.Core.Application/Helper/FileStoreHelper.cs
index 8027d4635..63e2278f1 100644
--- a/IRaCIS.Core.Application/Helper/FileStoreHelper.cs
+++ b/IRaCIS.Core.Application/Helper/FileStoreHelper.cs
@@ -14,40 +14,6 @@ namespace IRaCIS.Core.Application.Helper;
public static class FileStoreHelper
{
- public static string UploadOOS(string filePath,string route)
- {
- var endpoint = ConfigurationManager.AppSettings["AliyunOSS:endpoint"];
- // yourEndpoint填写Bucket所在地域对应的Endpoint。以华东1(杭州)为例,Endpoint填写为https://oss-cn-hangzhou.aliyuncs.com。
-
- // 阿里云账号AccessKey拥有所有API的访问权限,风险很高。强烈建议您创建并使用RAM用户进行API访问或日常运维,请登录RAM控制台创建RAM用户。
- var accessKeyId = ConfigurationManager.AppSettings["AliyunOSS:accessKeyId"];
- var accessKeySecret = ConfigurationManager.AppSettings["AliyunOSS:accessKeySecret"];
- // 填写Bucket名称,例如examplebucket。
- var bucketName = ConfigurationManager.AppSettings["AliyunOSS:bucketName"];
- // 填写Object完整路径,完整路径中不能包含Bucket名称,例如exampledir/exampleobject.txt。
-
- var fileNameList = filePath.Split(',').ToList();
- var fileName = fileNameList[fileNameList.Count - 1];
-
- var objectName = route+ fileName;
- // 填写本地文件完整路径,例如D:\\localpath\\examplefile.txt。如果未指定本地路径,则默认从示例程序所属项目对应本地路径中上传文件。
- var localFilename = filePath;
- // 创建OSSClient实例。
- var client = new OssClient(endpoint, accessKeyId, accessKeySecret);
- try
- {
- // 上传文件。
- var result = client.PutObject(bucketName, objectName, localFilename);
-
- return result.ETag;
- }
- catch (Exception ex)
- {
- throw new BusinessValidationFailedException("上传异常!");
-
- }
- }
-
//处理文件名 压缩包,或者目录类的 会带上相对路径
public static (string TrustedFileNameForFileStorage, string RealName) GetStoreFileName(string fileName,bool isChangeToPdfFormat=false)
{
diff --git a/IRaCIS.Core.Application/Service/Inspection/DTO/InspectionModel.cs b/IRaCIS.Core.Application/Service/Inspection/DTO/InspectionModel.cs
index dfd96079c..127b80708 100644
--- a/IRaCIS.Core.Application/Service/Inspection/DTO/InspectionModel.cs
+++ b/IRaCIS.Core.Application/Service/Inspection/DTO/InspectionModel.cs
@@ -357,7 +357,6 @@ namespace IRaCIS.Core.Application.Service.Inspection.DTO
public class GetDataInspectionOutDto : DataInspection
{
- public Guid? TrialReadingCriterionId { get; set; }
public string TrialReadingCriterionName { get; set; }
public string BlindName { get; set; }
@@ -371,9 +370,6 @@ namespace IRaCIS.Core.Application.Service.Inspection.DTO
//public string ParentJson { get; set; } = string.Empty;
-
- public string CreateUserRealName { get; set; } = string.Empty;
-
public string Description { get; set; } = string.Empty;
public string DescriptionCN { get; set; } = string.Empty;
diff --git a/IRaCIS.Core.Application/Service/Management/DTO/UserTypeRoleModel.cs b/IRaCIS.Core.Application/Service/Management/DTO/UserTypeRoleModel.cs
index a68328309..2b97741d3 100644
--- a/IRaCIS.Core.Application/Service/Management/DTO/UserTypeRoleModel.cs
+++ b/IRaCIS.Core.Application/Service/Management/DTO/UserTypeRoleModel.cs
@@ -9,7 +9,6 @@ namespace IRaCIS.Core.Application.Contracts
/// UserTypeRoleView 列表视图模型
public class UserTypeRoleView : UserTypeMenuAddOrEdit
{
- public UserTypeEnum UserTypeEnum { get; set; }
public List UserTypeGroupList { get; set; } = new List();
public new List UserTypeGroupIdList => UserTypeGroupList.Select(t => t.DictionaryId).ToList();
diff --git a/IRaCIS.Core.Application/Service/Management/UserService.cs b/IRaCIS.Core.Application/Service/Management/UserService.cs
index 6f2f6718e..e24721232 100644
--- a/IRaCIS.Core.Application/Service/Management/UserService.cs
+++ b/IRaCIS.Core.Application/Service/Management/UserService.cs
@@ -282,7 +282,7 @@ namespace IRaCIS.Application.Services
{
await _mailVerificationService.AdminResetPwdSendEmailAsync(userId, pwd);
}
- catch (Exception ex)
+ catch (Exception )
{
//---请检查邮箱地址或者联系维护人员, 邮件发送失败, 未能创建账户成功
throw new BusinessValidationFailedException(_localizer["User_CreateFailed"]);
diff --git a/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs b/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs
index c26348971..bbdb7f757 100644
--- a/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs
+++ b/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs
@@ -476,7 +476,7 @@ namespace IRaCIS.Core.Application.Contracts.DTO
{
return JsonConvert.DeserializeObject>(ParamInfo);
}
- catch (Exception e)
+ catch (Exception )
{
return new List();
diff --git a/IRaCIS.Core.Application/Service/QC/DTO/QCListViewModel.cs b/IRaCIS.Core.Application/Service/QC/DTO/QCListViewModel.cs
index c620c1100..51ee5499d 100644
--- a/IRaCIS.Core.Application/Service/QC/DTO/QCListViewModel.cs
+++ b/IRaCIS.Core.Application/Service/QC/DTO/QCListViewModel.cs
@@ -711,7 +711,6 @@ namespace IRaCIS.Core.Application.Contracts
public string RequestReReadingReason { get; set; } = string.Empty;
- public DateTime? SuggesteFinishedTime { get; set; }
[DictionaryTranslateAttribute("RequestReReadingResult")]
public RequestReReadingResult RequestReReadingResultEnum { get; set; }
diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingPeriodSetViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingPeriodSetViewModel.cs
index 9f3c9f688..9c22a8b91 100644
--- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingPeriodSetViewModel.cs
+++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingPeriodSetViewModel.cs
@@ -10,7 +10,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
{
public class ReadingPeriodSetAddOrEdit
{
- public new Guid? Id { get; set; }
+ public Guid? Id { get; set; }
///
/// 项目ID