瀏覽代碼

F_RealName

中职版本
liangkun 4 年之前
父節點
當前提交
4990d42a27
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/ADR_Record/ADR_RecordService.cs

+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/ADR_Record/ADR_RecordService.cs 查看文件

@@ -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);
} }


Loading…
取消
儲存