builder.AppendFormat(" AND a.{0} < '{1}' and a.{2} > '{1}' and c.{3}=2 ",nameof(RB_Examination_Publish_ViewModel.ExamStartTime),DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),nameof(RB_Examination_Publish_ViewModel.ExamEndTime),nameof(RB_Examination_Publish_ViewModel.ExamStatus));
builder.AppendFormat(" AND a.{0} < '{1}' and a.{2} > '{1}' and c.{3}=1 ",nameof(RB_Examination_Publish_ViewModel.ExamStartTime),DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),nameof(RB_Examination_Publish_ViewModel.ExamEndTime),nameof(RB_Examination_Publish_ViewModel.ExamStatus));
builder.AppendFormat(" AND a.{0} < '{1}' and c.{2}=2 ",nameof(RB_Examination_Publish_ViewModel.ExamEndTime),DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),nameof(RB_Examination_Publish_ViewModel.ExamStatus));
builder.AppendFormat(" AND a.{0} < '{1}' and c.{2} NOT IN(3,5) ",nameof(RB_Examination_Publish_ViewModel.ExamEndTime),DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),nameof(RB_Examination_Publish_ViewModel.ExamStatus));