维护导航属性,重命名字段
continuous-integration/drone/push Build is passing

This commit is contained in:
hang
2024-09-10 23:30:51 +08:00
parent 3f38cf25c5
commit 5e1ec1ffb2
13 changed files with 92 additions and 96 deletions
@@ -602,9 +602,9 @@ namespace IRaCIS.Core.Application.ViewModel
[JsonIgnore]
public List<SubjectUserView> DoctorUserList { get; set; }
public List<SubjectUserView> PreviousDoctorUserList => DoctorUserList.Where(t => t.OrignalSubjectUserId != null).ToList();
public List<SubjectUserView> PreviousDoctorUserList => DoctorUserList.Where(t => t.ReplacedSubjectUserId != null).ToList();
public List<SubjectUserView> NowDoctorUserList => DoctorUserList.Where(t => t.OrignalSubjectUserId == null).ToList();
public List<SubjectUserView> NowDoctorUserList => DoctorUserList.Where(t => t.ReplacedSubjectUserId == null).ToList();
@@ -622,7 +622,7 @@ namespace IRaCIS.Core.Application.ViewModel
public bool IsConfirmed { get; set; }
//该属性有值 说明该医生被替换了 分配的时候 要过滤掉
public Guid? OrignalSubjectUserId { get; set; }
public Guid? ReplacedSubjectUserId { get; set; }
public UserSimpleInfo DoctorUser { get; set; }
}