|
@@ -164,11 +164,19 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
} |
|
|
} |
|
|
if (!queryParam["accountName"].IsEmpty()) |
|
|
if (!queryParam["accountName"].IsEmpty()) |
|
|
{ |
|
|
{ |
|
|
var IsPhone = queryParam["IsPhone"].ToString(); |
|
|
|
|
|
if (IsPhone == "0") |
|
|
|
|
|
|
|
|
var IsPhone = ""; |
|
|
|
|
|
if (!queryParam["IsPhone"].IsEmpty()) |
|
|
{ |
|
|
{ |
|
|
dp.Add("accountName", queryParam["accountName"].ToString(), DbType.String); |
|
|
|
|
|
strSql.Append(" AND t.accountName = @accountName "); |
|
|
|
|
|
|
|
|
IsPhone = queryParam["IsPhone"].ToString(); |
|
|
|
|
|
if (IsPhone == "0") |
|
|
|
|
|
{ |
|
|
|
|
|
var accountName = queryParam["accountName"].ToString(); |
|
|
|
|
|
if (accountName != "超级管理员") |
|
|
|
|
|
{ |
|
|
|
|
|
dp.Add("accountName", queryParam["accountName"].ToString(), DbType.String); |
|
|
|
|
|
strSql.Append(" AND t.accountName = @accountName "); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|