Browse Source

【修改】资产类别管理:增加上级类别查询;

新疆体育高职分支
dyy 1 year ago
parent
commit
f92f6b22b1
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/Ass_AssetsType/Ass_AssetsTypeService.cs

+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/Ass_AssetsType/Ass_AssetsTypeService.cs View File

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


Loading…
Cancel
Save