|
@@ -115,7 +115,7 @@ namespace OASystem.Infrastructure.Repositories.System
|
|
|
|
|
|
if (portType == 1 || portType == 2) //web
|
|
if (portType == 1 || portType == 2) //web
|
|
{
|
|
{
|
|
- string sql = string.Format(@"Select Id,CnName From Sys_Users Where Isdel=0");
|
|
|
|
|
|
+ string sql = string.Format(@"Select Id,CnName From Sys_Users Where Isdel=0 And HrAudit = 1");
|
|
var _userList = await _sqlSugar.SqlQueryable<UserNameView>(sql).ToListAsync();
|
|
var _userList = await _sqlSugar.SqlQueryable<UserNameView>(sql).ToListAsync();
|
|
|
|
|
|
if (_userList.Count != 0)
|
|
if (_userList.Count != 0)
|