+ sqlValue += $" and a.SourceType={request.SourceType}";
if (!string.IsNullOrWhiteSpace(request.Key))
sqlValue += $" and b.Name like '%{request.Key}%'";
var sql = $"SELECT a.*,b.Name,b.AvatarUrl,c.Name FROM tede_addressee a inner join tede_user b on a.UserId=b.Id inner join tede_department c on c.Id=b.DepartmentId where a.SourceId={request.NoticeId} {sqlValue} order by a.LastModifiedDate desc";