where+=$@" and (r.{nameof(RB_WeChat_CustomerInfo_ViewModel.LastFollowUpTime)} <='{followDay}' or r.{nameof(RB_WeChat_CustomerInfo_ViewModel.LastFollowUpTime)} is null)";
}
if(!string.IsNullOrEmpty(demodel.Q_Friends))
{
where+=$@" and r.{nameof(RB_WeChat_CustomerInfo_ViewModel.FriendState)} in({demodel.Q_Friends})";
}
if(!string.IsNullOrEmpty(demodel.Q_AddWay))
{
where+=$@" and r.{nameof(RB_WeChat_CustomerInfo_ViewModel.AddWay)} in({demodel.Q_AddWay})";