用户反馈增加数字
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
826f8a670d
commit
99eef31202
|
@ -159,6 +159,7 @@ namespace IRaCIS.Application.Contracts
|
|||
//public int? StudyCount { get; set; } = 0;
|
||||
//public int? SiteCount { get; set; } = 0;
|
||||
|
||||
public int? UserFeedBackUnDealedCount { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -77,6 +77,9 @@ namespace IRaCIS.Core.Application.Service
|
|||
.ForMember(d => d.ReviewMode, u => u.MapFrom(s => isEn_Us ? s.ReviewMode.Value : s.ReviewMode.ValueCN))
|
||||
//.ForMember(d => d.ReviewType, u => u.MapFrom(s => s.ReviewType.Value))
|
||||
.ForMember(d => d.IsLocked, u => u.MapFrom(s => s.WorkloadList.Any(u => u.DataFrom == (int)WorkLoadFromStatus.FinalConfirm)))
|
||||
.ForMember(d => d.UserFeedBackUnDealedCount, u => u.MapFrom(s => s.UserFeedBackList.Count(t=>t.State==0)))
|
||||
|
||||
|
||||
//.ForMember(d => d.SiteCount, u => u.MapFrom(s => userTypeEnumInt == (int)UserTypeEnum.ClinicalResearchCoordinator ? s.TrialSiteUserList.Count(k => k.UserId == userId) : s.TrialSiteList.Count()))
|
||||
//.ForMember(d => d.StudyCount, u => u.MapFrom(s => userTypeEnumInt == (int)UserTypeEnum.ClinicalResearchCoordinator ? s.StudyList.Count(t => t.TrialSite.CRCUserList.Any(t => t.UserId == userId)) : s.StudyList.Count()))
|
||||
//.ForMember(d => d.SubjectCount, u => u.MapFrom(s => userTypeEnumInt == (int)UserTypeEnum.ClinicalResearchCoordinator ? s.SubjectList.Count(t => t.TrialSite.CRCUserList.Any(t => t.UserId == userId)) : s.SubjectList.Count()))
|
||||
|
|
|
@ -59,8 +59,8 @@ namespace IRaCIS.Core.Domain.Models
|
|||
public List<TrialSiteUser> TrialSiteUserList { get; set; } = new List<TrialSiteUser>();
|
||||
[JsonIgnore]
|
||||
public List<ReadModule> ReadModuleList { get; set; } = new List<ReadModule>();
|
||||
|
||||
|
||||
[JsonIgnore]
|
||||
public List<UserFeedBack> UserFeedBackList { get; set; } = new List<UserFeedBack>();
|
||||
public Guid IndicationTypeId { get; set; } = Guid.Empty;
|
||||
public Guid? PhaseId { get; set; } = Guid.Empty;
|
||||
|
||||
|
|
Loading…
Reference in New Issue