Commit 5b4dd407 authored by 黄奎's avatar 黄奎

页面修改

parent 97b43be6
......@@ -236,7 +236,8 @@ WHERE 1=1
}
if (!string.IsNullOrEmpty(query.ClassNo))
{
builder.AppendFormat(" AND A.{0} ='{1}' ", nameof(RB_Class_ViewModel.ClassNo), query.ClassNo);
builder.AppendFormat(" AND A.{0} LIKE @ClassNo ", nameof(RB_Class_ViewModel.ClassNo));
parameters.Add("ClassNo", "%" + query.ClassNo.Trim() + "%");
}
if (!string.IsNullOrWhiteSpace(query.CourseName))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment