where+=$@" and a.{nameof(RB_Supplier.Name)} like '%{dmodel.Name}%'";
}
stringsql=$@"select a.*,b.`Name` as IntroducerName from rb_distributor_info as a LEFT JOIN rb_member_user as b on a.Introducer=b.UserId {where} order by a.Id desc";
stringsql=$@"select a.*,b.`Name` as IntroducerName from {TableName} as a LEFT JOIN rb_distributor_info as b on a.Introducer=b.UserId {where} order by a.Id desc";