|
|
@@ -164,8 +164,17 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
} |
|
|
|
if (!queryParam["accountName"].IsEmpty()) |
|
|
|
{ |
|
|
|
dp.Add("accountName", "%" + queryParam["accountName"].ToString() + "%", DbType.String); |
|
|
|
strSql.Append(" AND t.accountName Like @accountName "); |
|
|
|
var IsPhone = queryParam["accountName"].ToString(); |
|
|
|
if (IsPhone == "0") |
|
|
|
{ |
|
|
|
dp.Add("accountName", queryParam["accountName"].ToString(), DbType.String); |
|
|
|
strSql.Append(" AND t.accountName = @accountName "); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
dp.Add("accountName", "%" + queryParam["accountName"].ToString() + "%", DbType.String); |
|
|
|
strSql.Append(" AND t.accountName Like @accountName "); |
|
|
|
} |
|
|
|
} |
|
|
|
if (!queryParam["depName"].IsEmpty()) |
|
|
|
{ |
|
|
|