修改稽查
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net8
hang 2025-01-06 11:41:54 +08:00
parent cfbe3d2589
commit 293865fc3f
2 changed files with 21 additions and 13 deletions

View File

@ -433,7 +433,7 @@ namespace IRaCIS.Core.Application.Services
.CountAsync();
var needSignSystemDocCount = await _systemDocumentRepository
var needSignSystemDocCount = await _systemDocumentRepository.AsQueryable(true)
.Where(t => t.IsDeleted == false && !t.SystemDocConfirmedUserList.Any(t => t.ConfirmUserId == _userInfo.IdentityUserId && t.ConfirmTime != null) && t.NeedConfirmedUserTypeList.Any(u => u.NeedConfirmUserTypeId == _userInfo.UserTypeId))
.CountAsync();

View File

@ -3000,12 +3000,13 @@ namespace IRaCIS.Core.Infra.EFCore.Common
await InsertInspection<ReadingTaskQuestionMark>(entity, type, x => new InspectionConvertDTO()
{
VisitTaskId = entity.VisitTaskId,
ObjectRelationParentId = entity.VisitTaskId,
},new {
Answer= answer,
LiverSegmentation= liverSegmentation,
}, new
{
Answer = answer,
LiverSegmentation = liverSegmentation,
});
}
@ -3331,26 +3332,31 @@ namespace IRaCIS.Core.Infra.EFCore.Common
UserRealName = userRealName,
};
var extraIdentification = string.Empty;
var isDistinctionInterface = true;
#region 标识区分
if (type == AuditOpt.Add)
{
isDistinctionInterface = false;
//生成一致性分析任务
if (entity.IsSelfAnalysis == true)
{
type = type + "/" + "SelfAnalysis";
extraIdentification = "/SelfAnalysis";
}
else if (entity.IsSelfAnalysis == false)
{
type = type + "/" + "GroupAnalysis";
extraIdentification = "/GroupAnalysis";
}
else
{
type = type + "/" + "NotAnalysis";
extraIdentification = "/NotAnalysis";
}
//区分任务类型
type = type + "/" + (int)entity.ReadingCategory;
extraIdentification = extraIdentification + "/" + (int)entity.ReadingCategory;
}
@ -3360,7 +3366,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
{
//申请重阅
case "VisitTask/applyReReading":
type = type + "/" + (int)entity.ReReadingApplyState;
extraIdentification = "/" + (int)entity.ReReadingApplyState;
break;
@ -3369,12 +3375,12 @@ namespace IRaCIS.Core.Infra.EFCore.Common
if (_userInfo.UserTypeEnumInt == (int)UserTypeEnum.ProjectManager || _userInfo.UserTypeEnumInt == (int)UserTypeEnum.APM)
{
type = type + "/" + 1;
extraIdentification = "/" + 1;
}
else
{
type = type + "/" + 2;
extraIdentification = "/" + 2;
}
break;
@ -3510,7 +3516,9 @@ namespace IRaCIS.Core.Infra.EFCore.Common
{
VisitTaskId = x.Id,
IsDistinctionInterface = type == AuditOpt.Update ? true : false,
IsDistinctionInterface = isDistinctionInterface,
ExtraIndentification = extraIdentification,
ObjectRelationParentId = entity.SourceSubjectVisitId != null ? entity.SourceSubjectVisitId : entity.SouceReadModuleId,