Commit 8549bc41 authored by 黄奎's avatar 黄奎

页面修改

parent 575acd28
......@@ -298,11 +298,12 @@ namespace Edu.Module.User
{
List<WhereHelper> where = new List<WhereHelper>()
{
new WhereHelper(nameof(RB_Student_ViewModel.Group_Id),model.Group_Id),
new WhereHelper(nameof(RB_Student_ViewModel.Group_Id),model.Group_Id),
new WhereHelper(nameof(RB_Student_ViewModel.Status),(int)DateStateEnum.Normal),
};
if (Type == 1)
{
where.Add(new WhereHelper(nameof(RB_Student_ViewModel.StuTel), model.StuTel));
where.Add(new WhereHelper(nameof(RB_Student_ViewModel.StuRealMobile), model.StuRealMobile));
}
if (Type == 2)
{
......@@ -321,7 +322,8 @@ namespace Edu.Module.User
OperatorEnum = OperatorEnum.NotEqual
});
}
return studentRepository.Exists(where);
var NewId= studentRepository.Exists("StuId", where);
return NewId > 0;
}
/// <summary>
......
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