|
|
@@ -209,6 +209,11 @@ namespace Learun.Application.TwoDevelopment.AssetManagementSystem |
|
|
|
dp.Add("AName", "%" + queryParam["AName"].ToString() + "%", DbType.String); |
|
|
|
strSql.Append(" AND t.AName Like @AName "); |
|
|
|
} |
|
|
|
if (!queryParam["ATPTId"].IsEmpty()) |
|
|
|
{ |
|
|
|
dp.Add("ATPTId", queryParam["ATPTId"].ToString(), DbType.String); |
|
|
|
strSql.Append(" AND t.ATPTId = @ATPTId "); |
|
|
|
} |
|
|
|
strSql.Append(" order by ATOrder "); |
|
|
|
return this.BaseRepository().FindList<Ass_AssetsTypeEntity>(strSql.ToString(), dp); |
|
|
|
} |
|
|
|