|
@@ -59,7 +59,7 @@ namespace Learun.Application.TwoDevelopment.LogisticsManagement |
|
|
if (!queryParam["UserName"].IsEmpty()) |
|
|
if (!queryParam["UserName"].IsEmpty()) |
|
|
{ |
|
|
{ |
|
|
dp.Add("UserName", "%" + queryParam["UserName"].ToString() + "%", DbType.String); |
|
|
dp.Add("UserName", "%" + queryParam["UserName"].ToString() + "%", DbType.String); |
|
|
strSql.Append(" AND emp.EmpName Like @UserName "); |
|
|
|
|
|
|
|
|
strSql.Append(" AND emp.F_RealName Like @UserName "); |
|
|
} |
|
|
} |
|
|
if (!queryParam["Department"].IsEmpty()) |
|
|
if (!queryParam["Department"].IsEmpty()) |
|
|
{ |
|
|
{ |
|
@@ -74,7 +74,7 @@ namespace Learun.Application.TwoDevelopment.LogisticsManagement |
|
|
if (!queryParam["ADStatus"].IsEmpty()) |
|
|
if (!queryParam["ADStatus"].IsEmpty()) |
|
|
{ |
|
|
{ |
|
|
dp.Add("ADStatus", queryParam["ADStatus"].ToString(), DbType.String); |
|
|
dp.Add("ADStatus", queryParam["ADStatus"].ToString(), DbType.String); |
|
|
strSql.Append(" AND t.ADStatus = @ADStatus "); |
|
|
|
|
|
|
|
|
strSql.Append(" AND t.ClockStatus = @ADStatus "); |
|
|
} |
|
|
} |
|
|
return this.BaseRepository("CollegeMIS").FindList<ADR_RecordEntity>(strSql.ToString(),dp, pagination); |
|
|
return this.BaseRepository("CollegeMIS").FindList<ADR_RecordEntity>(strSql.ToString(),dp, pagination); |
|
|
} |
|
|
} |
|
|