Commit 7691f383 authored by 黄奎's avatar 黄奎

页面修改

parent d66b7cfd
...@@ -1213,7 +1213,9 @@ namespace Edu.Module.Course ...@@ -1213,7 +1213,9 @@ namespace Edu.Module.Course
/// <returns></returns> /// <returns></returns>
public virtual bool SetMakeUpStatusModule(int MakeUpStatus, int ClassCheckId, int GuestId) public virtual bool SetMakeUpStatusModule(int MakeUpStatus, int ClassCheckId, int GuestId)
{ {
bool flag = false; bool flag = true;
if (MakeUpStatus == 2)
{
Dictionary<string, object> fileds = new Dictionary<string, object>() Dictionary<string, object> fileds = new Dictionary<string, object>()
{ {
{nameof(RB_Class_Check_ViewModel.MakeUpStatus), MakeUpStatus } {nameof(RB_Class_Check_ViewModel.MakeUpStatus), MakeUpStatus }
...@@ -1224,8 +1226,6 @@ namespace Edu.Module.Course ...@@ -1224,8 +1226,6 @@ namespace Edu.Module.Course
}; };
flag = classCheckRepository.Update(fileds, checkWheres); flag = classCheckRepository.Update(fileds, checkWheres);
if (MakeUpStatus == 2)
{
Dictionary<string, object> guestFileds = new Dictionary<string, object>() Dictionary<string, object> guestFileds = new Dictionary<string, object>()
{ {
{ nameof(RB_Order_Guest_ViewModel.GuestState), 1 } { nameof(RB_Order_Guest_ViewModel.GuestState), 1 }
......
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