|
|
@@ -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) |
|
|
|
{ |
|
|
|