Commit 2136bf58 authored by 吴春's avatar 吴春

提交代码

parent df9f9a3d
...@@ -64,7 +64,7 @@ WHERE 1=1 ...@@ -64,7 +64,7 @@ WHERE 1=1
builder.AppendFormat(" AND a.{0}={1} ", nameof(RB_Assist_ViewModel.Teacher_Id), query.Teacher_Id); builder.AppendFormat(" AND a.{0}={1} ", nameof(RB_Assist_ViewModel.Teacher_Id), query.Teacher_Id);
} }
} }
return Get<RB_Assist_ViewModel>(builder.ToString()).ToList(); return Get<RB_Assist_ViewModel>(builder.ToString(), parameters).ToList();
} }
......
...@@ -70,7 +70,7 @@ WHERE 1=1 ...@@ -70,7 +70,7 @@ WHERE 1=1
builder.AppendFormat(" AND t.{0}={1} ", nameof(RB_Teacher_ViewModel.TId), query.TId); builder.AppendFormat(" AND t.{0}={1} ", nameof(RB_Teacher_ViewModel.TId), query.TId);
} }
} }
return Get<RB_Teacher_ViewModel>(builder.ToString()).ToList(); return Get<RB_Teacher_ViewModel>(builder.ToString(), parameters).ToList();
} }
......
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