Commit a237975d authored by 黄奎's avatar 黄奎

页面修改

parent e7b619de
......@@ -73,7 +73,6 @@ namespace Edu.Module.User
{nameof(RB_Teacher_ViewModel.SortNum),model.SortNum },
{nameof(RB_Teacher_ViewModel.UpdateBy),model.UpdateBy },
{nameof(RB_Teacher_ViewModel.UpdateTime),model.UpdateTime },
{nameof(RB_Teacher_ViewModel.AuditStatus),model.AuditStatus },
{nameof(RB_Teacher_ViewModel.TeachTag),model.TeachTag }
};
flag = teacherRepository.Update(fileds, new WhereHelper(nameof(RB_Teacher_ViewModel.TId), model.TId));
......
......@@ -269,7 +269,7 @@ namespace Edu.WebApi.Controllers.User
extModel.CreateTime = DateTime.Now;
extModel.UpdateBy = base.UserInfo.Id;
extModel.UpdateTime = DateTime.Now;
extModel.AuditStatus = Common.Enum.User.AccountStatusEnum.NoPass;
extModel.AuditStatus = Common.Enum.User.AccountStatusEnum.Normal;
extModel.Group_Id = base.UserInfo.Group_Id;
bool flag = teacherModule.SetTeacherModule(extModel);
return flag ? ApiResult.Success() : ApiResult.Failed();
......
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