Commit 0aca70d7 authored by 黄奎's avatar 黄奎

页面修改

parent 08492bf0
...@@ -1245,7 +1245,8 @@ namespace Edu.Module.Course ...@@ -1245,7 +1245,8 @@ namespace Edu.Module.Course
{ {
Dictionary<string, object> stufileds = new Dictionary<string, object>() Dictionary<string, object> stufileds = new Dictionary<string, object>()
{ {
{nameof(RB_Student_ViewModel.AdvisorStatus),5 } {nameof(RB_Student_ViewModel.AdvisorStatus),5 },
{nameof(RB_Student_ViewModel.AdvisorWinRate),100 },
}; };
studentRepository.Update(stufileds, new WhereHelper(nameof(RB_Student_ViewModel.StuId), sItem.StuId)); studentRepository.Update(stufileds, new WhereHelper(nameof(RB_Student_ViewModel.StuId), sItem.StuId));
student_AdvisorRepository.Insert(new Model.Entity.Customer.RB_Student_Advisor() student_AdvisorRepository.Insert(new Model.Entity.Customer.RB_Student_Advisor()
...@@ -4757,7 +4758,8 @@ namespace Edu.Module.Course ...@@ -4757,7 +4758,8 @@ namespace Edu.Module.Course
{ {
Dictionary<string, object> stufileds = new Dictionary<string, object>() Dictionary<string, object> stufileds = new Dictionary<string, object>()
{ {
{nameof(RB_Student_ViewModel.AdvisorStatus),5 } {nameof(RB_Student_ViewModel.AdvisorStatus),5 },
{nameof(RB_Student_ViewModel.AdvisorWinRate),100 },
}; };
studentRepository.Update(stufileds, new WhereHelper(nameof(RB_Student_ViewModel.StuId), subItem.Student_Id)); studentRepository.Update(stufileds, new WhereHelper(nameof(RB_Student_ViewModel.StuId), subItem.Student_Id));
student_AdvisorRepository.Insert(new Model.Entity.Customer.RB_Student_Advisor() student_AdvisorRepository.Insert(new Model.Entity.Customer.RB_Student_Advisor()
......
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