/// <summary> /// 根据抄送用户ID返回请假单传输对象 /// </summary> /// <param name="UserID">用户ID</param> public List <LeaveDto> GetByCCTo(string UserID) { List <LeaveDto> temp = Mapper.Map <List <Leave>, List <LeaveDto> >(_leaveRepository.GetByCCTo(UserID).AsNoTracking().ToList()); return(GetLeaveDetail(temp)); }