修改文档签署
parent
0c6b968fd5
commit
11644212c9
|
@ -2278,6 +2278,11 @@
|
|||
单位
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ReadingReportDto.GroupEnName">
|
||||
<summary>
|
||||
问题英文分组
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.VistTaskTableQuestionRowInfo.OrderMark">
|
||||
<summary>
|
||||
序号标记
|
||||
|
@ -4079,11 +4084,21 @@
|
|||
问题类型
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ReadingQuestionTrialView.ParentQuestionGenre">
|
||||
<summary>
|
||||
Parent问题类型
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ReadingQuestionTrialView.DictionaryCode">
|
||||
<summary>
|
||||
字典code
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ReadingQuestionTrialView.ParentDictionaryCode">
|
||||
<summary>
|
||||
Parent字典code
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ReadingQuestionTrialView.ReadingQuestionCriterionTrialId">
|
||||
<summary>
|
||||
系统标准Id
|
||||
|
@ -4259,6 +4274,11 @@
|
|||
问题类型
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ReadingQuestionSystemView.ParentQuestionGenre">
|
||||
<summary>
|
||||
Parent问题类型
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ReadingQuestionSystemView.GlobalReadingShowType">
|
||||
<summary>
|
||||
全局阅片显示类型
|
||||
|
@ -4274,6 +4294,11 @@
|
|||
字典code
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ReadingQuestionSystemView.ParentDictionaryCode">
|
||||
<summary>
|
||||
Parent字典code
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ReadingQuestionSystemView.RelevanceId">
|
||||
<summary>
|
||||
关联ID
|
||||
|
@ -4424,6 +4449,16 @@
|
|||
问题名称
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.CriterionOtherQuestionOutDto.DictionaryCode">
|
||||
<summary>
|
||||
字典code
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.CriterionOtherQuestionOutDto.QuestionGenre">
|
||||
<summary>
|
||||
问题类型
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.CriterionOtherQuestionOutDto.TypeValue">
|
||||
<summary>
|
||||
类型值
|
||||
|
@ -7014,6 +7049,16 @@
|
|||
父问题名称
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.Contracts.TrialReadQuestion.ParentDictionaryCode">
|
||||
<summary>
|
||||
Parent字典code
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.Contracts.TrialReadQuestion.ParentQuestionGenre">
|
||||
<summary>
|
||||
Parent问题类型
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.Contracts.TrialJudgeQuestion.QuestionName">
|
||||
<summary>
|
||||
问题名称
|
||||
|
@ -9072,20 +9117,6 @@
|
|||
<param name="inDto"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:IRaCIS.Application.Services.ReadingQuestionService.UpdateTrialCriterion(System.Guid)">
|
||||
<summary>
|
||||
更改项目标准(老)
|
||||
</summary>
|
||||
<param name="systemCriterionId"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:IRaCIS.Application.Services.ReadingQuestionService.SynchronizeSystemCriterion(System.Guid)">
|
||||
<summary>
|
||||
更改项目标准(新)
|
||||
</summary>
|
||||
<param name="systemCriterionId"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:IRaCIS.Application.Services.ReadingQuestionService.VerifyeCriterionNeedSynchronize(IRaCIS.Core.Application.Service.Reading.Dto.VerifyeCriterionNeedSynchronizeInDto)">
|
||||
<summary>
|
||||
验证是否要同步标准
|
||||
|
@ -9099,26 +9130,6 @@
|
|||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:IRaCIS.Application.Services.ReadingQuestionService.SetChildParentQuestion(System.Guid,System.Guid,System.Collections.Generic.List{IRaCIS.Core.Domain.Models.ReadingQuestionSystem},System.Collections.Generic.List{IRaCIS.Core.Domain.Models.ReadingQuestionTrial})">
|
||||
<summary>
|
||||
设置父子关系
|
||||
</summary>
|
||||
<param name="ReadingQuestionCriterionTrialId">项目标准ID</param>
|
||||
<param name="trialId">项目Id</param>
|
||||
<param name="systemQuesitonList">系统问题</param>
|
||||
<param name="needQuestionList">需要添加list</param>
|
||||
</member>
|
||||
<member name="M:IRaCIS.Application.Services.ReadingQuestionService.CreateQuestionRelation(System.Guid,System.Guid,System.Guid,System.Guid,System.Collections.Generic.List{IRaCIS.Core.Domain.Models.ReadingQuestionSystem},System.Collections.Generic.List{IRaCIS.Core.Domain.Models.ReadingQuestionTrial})">
|
||||
<summary>
|
||||
递归处理父子关系
|
||||
</summary>
|
||||
<param name="ReadingQuestionCriterionTrialId"></param>
|
||||
<param name="trialId"></param>
|
||||
<param name="oldParentId"></param>
|
||||
<param name="newParentId"></param>
|
||||
<param name="systemQuesitonList"></param>
|
||||
<param name="needQuestionList"></param>
|
||||
</member>
|
||||
<member name="T:IRaCIS.Application.Services.ReadingImageTaskService">
|
||||
<summary>
|
||||
全局阅片
|
||||
|
@ -9146,6 +9157,13 @@
|
|||
<param name="inDto"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:IRaCIS.Application.Services.ReadingImageTaskService.BatchSubmitGlobalReadingInfo(IRaCIS.Core.Application.Service.Reading.Dto.BatchSubmitGlobalReadingInfo)">
|
||||
<summary>
|
||||
批量提交全局阅片信息
|
||||
</summary>
|
||||
<param name="inDto"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:IRaCIS.Application.Services.ReadingImageTaskService.SaveGlobalReadingInfo(IRaCIS.Core.Application.Service.Reading.Dto.SaveGlobalReadingInfoInDto)">
|
||||
<summary>
|
||||
保存全局阅片结果
|
||||
|
@ -9160,6 +9178,13 @@
|
|||
<param name="inDto"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:IRaCIS.Application.Services.ReadingImageTaskService.ChangeCalculationAnswer(IRaCIS.Core.Application.Service.Reading.Dto.ChangeCalculationAnswerInDto)">
|
||||
<summary>
|
||||
修改计算问题
|
||||
</summary>
|
||||
<param name="inDto"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:IRaCIS.Application.Services.ReadingImageTaskService.ReadClinicalData(IRaCIS.Core.Application.Service.Reading.Dto.ReadClinicalDataInDto)">
|
||||
<summary>
|
||||
阅读临床数据
|
||||
|
|
|
@ -197,8 +197,8 @@ namespace IRaCIS.Core.Application.Services
|
|||
var unionQuery = systemDocumentQueryable.Union(trialDocQueryable)
|
||||
.WhereIf(!string.IsNullOrEmpty(querySystemDocument.Name), t => t.Name.Contains(querySystemDocument.Name))
|
||||
.WhereIf(querySystemDocument.FileTypeId != null, t => t.FileTypeId == querySystemDocument.FileTypeId)
|
||||
.WhereIf(querySystemDocument.IsSign == true, t => t.ConfirmUserId != null)
|
||||
.WhereIf(querySystemDocument.IsSign == false, t => t.ConfirmUserId == null);
|
||||
.WhereIf(querySystemDocument.IsSign == true, t => t.ConfirmTime != null)
|
||||
.WhereIf(querySystemDocument.IsSign == false, t => t.ConfirmTime == null);
|
||||
|
||||
var result = await unionQuery.ToPagedListAsync(querySystemDocument.PageIndex, querySystemDocument.PageSize, querySystemDocument.SortField, querySystemDocument.Asc);
|
||||
|
||||
|
|
|
@ -1178,7 +1178,6 @@ namespace IRaCIS.Core.Application.Image.QA
|
|||
|
||||
|
||||
|
||||
|
||||
var config = await _repository.Where<Trial>(t => t.Id == visitSearchDTO.TrialId).ProjectTo<TrialSubjectAndSVConfig>(_mapper.ConfigurationProvider).FirstOrDefaultAsync().IfNullThrowException();
|
||||
|
||||
return (pageList, config);
|
||||
|
|
|
@ -54,7 +54,8 @@ namespace IRaCIS.Core.Application
|
|||
|
||||
HaveSignedTrialDocCount = _userInfo.UserTypeEnumInt == (int)UserTypeEnum.SuperAdmin
|
||||
? 0
|
||||
: await _trialDocumentRepository.Where(t => t.Trial.TrialStatusStr != StaticData.TrialState.TrialStopped)
|
||||
//废除了 已经签署了也要算进去
|
||||
: await _trialDocumentRepository.AsQueryable(true).Where(t => t.Trial.TrialStatusStr != StaticData.TrialState.TrialStopped)
|
||||
.Where( t => t.Trial.TrialUserList.Any(t => t.UserId == _userInfo.Id))
|
||||
.Where(t => t.NeedConfirmedUserTypeList.Any(t => t.NeedConfirmUserTypeId == _userInfo.UserTypeId))
|
||||
.SelectMany(t => t.TrialDocConfirmedUserList)
|
||||
|
@ -146,9 +147,10 @@ namespace IRaCIS.Core.Application
|
|||
}
|
||||
else
|
||||
{
|
||||
var trialDocStat = await _trialRepository.Where(t=>t.TrialStatusStr != StaticData.TrialState.TrialStopped)
|
||||
var trialDocStat = await _trialRepository/*.AsQueryable(true)*/.Where(t=>t.TrialStatusStr != StaticData.TrialState.TrialStopped)
|
||||
.Where(t => t.TrialUserList.Any(t => t.UserId == _userInfo.Id))
|
||||
.WhereIf(!_userInfo.IsAdmin, c => c.TrialDocumentList.Where(t => t.NeedConfirmedUserTypeList.Any(t => t.NeedConfirmUserTypeId == _userInfo.UserTypeId) && !t.TrialDocConfirmedUserList.Any(t => t.ConfirmUserId == _userInfo.Id && t.ConfirmTime!=null)).Count() > 0)
|
||||
.WhereIf(!_userInfo.IsAdmin, c => c.TrialDocumentList.Where(t => t.IsDeleted == false && t.NeedConfirmedUserTypeList.Any(t => t.NeedConfirmUserTypeId == _userInfo.UserTypeId) && !t.TrialDocConfirmedUserList.Any(t => t.ConfirmUserId == _userInfo.Id && t.ConfirmTime!=null))
|
||||
.Count() > 0)
|
||||
.ProjectTo<DocSignStat>(_mapper.ConfigurationProvider, new { userTypeEnumInt = _userInfo.UserTypeEnumInt, userId = _userInfo.Id, userTypeId = _userInfo.UserTypeId })
|
||||
.OrderByDescending(t => t.WaitSignCount)
|
||||
.ToPagedListAsync(query.PageIndex, query.PageSize , query.SortField, query.Asc);
|
||||
|
|
|
@ -295,7 +295,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
.ForMember(t => t.WaitSignCount, u =>
|
||||
u.MapFrom(c => userTypeEnumInt == (int)UserTypeEnum.SuperAdmin ? 0
|
||||
|
||||
: c.TrialDocumentList.Where(t => t.IsDeleted == false && t.NeedConfirmedUserTypeList.Any(t => t.NeedConfirmUserTypeId == userTypeId) && !t.TrialDocConfirmedUserList.Any(t => t.ConfirmUserId == userId)).Count())
|
||||
: c.TrialDocumentList.Where(t => t.IsDeleted == false && t.NeedConfirmedUserTypeList.Any(t => t.NeedConfirmUserTypeId == userTypeId) && !t.TrialDocConfirmedUserList.Any(t => t.ConfirmUserId == userId && t.ConfirmTime!=null)).Count())
|
||||
);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue