Commit ac417444 authored by 黄奎's avatar 黄奎

页面修改

parent 188c43dc
...@@ -154,7 +154,7 @@ WHERE 1=1 ...@@ -154,7 +154,7 @@ WHERE 1=1
if (model.ChangeType == 2) if (model.ChangeType == 2)
{ {
builder.AppendFormat(" update RB_Class_Plan SET TeacherId={0} where ClassPlanId in({1})", newChangePlanItemList.FirstOrDefault().TeacherId, string.Join(",", oldChangePlanItemList.Select(x => x.TeacherId))); builder.AppendFormat(" update RB_Class_Plan SET TeacherId={0} where ClassPlanId in({1})", newChangePlanItemList.FirstOrDefault().TeacherId, string.Join(",", oldChangePlanItemList.Select(x => x.ClassPlanId)));
string tIds = string.Join(",", oldChangePlanItemList.Select(x => x.TeacherId)) + "," + newChangePlanItemList.FirstOrDefault().TeacherId; string tIds = string.Join(",", oldChangePlanItemList.Select(x => x.TeacherId)) + "," + newChangePlanItemList.FirstOrDefault().TeacherId;
var teacherList = teacherRepository.GetTeacherListRepository(new Model.ViewModel.User.RB_Teacher_ViewModel() { QTIds = tIds }); var teacherList = teacherRepository.GetTeacherListRepository(new Model.ViewModel.User.RB_Teacher_ViewModel() { QTIds = tIds });
foreach (var item in oldChangePlanItemList) foreach (var item in oldChangePlanItemList)
......
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