builder.AppendFormat(" AND DATE_FORMAT(A.{0},'%Y-%m-%d')>=DATE_FORMAT('{1}','%Y-%m-%d') ",nameof(RB_Class_Check_ViewModel.CreateTime),query.StartDate);
builder.AppendFormat(" AND DATE_FORMAT(A.{0},'%Y-%m-%d')>=DATE_FORMAT('{1}','%Y-%m-%d') ",nameof(RB_Class_Check_ViewModel.ClassDate),query.StartDate);
}
if(!string.IsNullOrWhiteSpace(query.EndDate))
{
builder.AppendFormat(" AND DATE_FORMAT(A.{0},'%Y-%m-%d')<=DATE_FORMAT('{1}','%Y-%m-%d') ",nameof(RB_Class_Check_ViewModel.CreateTime),query.EndDate);
builder.AppendFormat(" AND DATE_FORMAT(A.{0},'%Y-%m-%d')<=DATE_FORMAT('{1}','%Y-%m-%d') ",nameof(RB_Class_Check_ViewModel.ClassDate),query.EndDate);