@@ -132,15 +132,15 @@ WHERE 1=1 and a.ExamineStatus=2 and b.ExamineStatus=2
}
elseif(query.ExamStatus==2)
{
builder.AppendFormat(" AND a.{0} < '{1}' and a.{2} > '{1}' ",nameof(RB_Examination_Publish_ViewModel.ExamStartTime),DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),nameof(RB_Examination_Publish_ViewModel.ExamEndTime));
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));
}
elseif(query.ExamStatus==3)
{
builder.AppendFormat(" AND a.{0} > '{1}' and c.{2}=0 ",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}=2 ",nameof(RB_Examination_Publish_ViewModel.ExamEndTime),DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),nameof(RB_Examination_Publish_ViewModel.ExamStatus));
}
elseif(query.ExamStatus==4)
{
builder.AppendFormat(" AND a.{0} > '{1}' and c.{2}=1 ",nameof(RB_Examination_Publish_ViewModel.ExamEndTime),DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),nameof(RB_Examination_Publish_ViewModel.ExamStatus));
builder.AppendFormat(" AND c.{0}=1 ",nameof(RB_Examination_Publish_ViewModel.ExamStatus));