Browse Source

首页教师帐号状态判断增加删除和禁用筛选

master
liangkun 3 years ago
parent
commit
2cbd368e37
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Organization/User/UserService.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Organization/User/UserService.cs View File

@@ -128,7 +128,7 @@ namespace Learun.Application.Organization
{
try
{
return this.BaseRepository().FindList<UserEntity>(a => a.F_Description == "教师").ToList().Count() > 0 ? true : false;
return this.BaseRepository().FindList<UserEntity>(a =>a.F_Description == "教师"&&a.F_DeleteMark==1&&a.F_EnabledMark==1).ToList().Count() > 0 ? true : false;
}
catch (Exception ex)
{


Loading…
Cancel
Save