diff --git a/Tiobon.Core.Api/Controllers/BaseController.cs b/Tiobon.Core.Api/Controllers/BaseController.cs
index 51e9f711..38edef0f 100644
--- a/Tiobon.Core.Api/Controllers/BaseController.cs
+++ b/Tiobon.Core.Api/Controllers/BaseController.cs
@@ -1,4 +1,6 @@
-using Tiobon.Core.Model;
+using System.Collections.Generic;
+using System.Reflection;
+using Tiobon.Core.Model;
namespace Tiobon.Core.Controllers
{
@@ -15,6 +17,132 @@ namespace Tiobon.Core.Controllers
}
#endregion
+
+ #region 基础接口
+
+ #region 查询
+ ///
+ /// Ghra_Grade -- 根据条件查询数据
+ ///
+ /// 条件
+ ///
+ [HttpGet]
+ public async Task>> QueryByFilter([FromFilter] QueryFilter filter)
+ {
+ //var response = await _service.QueryFilterPage(filter);
+ var response = (await InvokeServiceAsync("QueryFilterPage", [filter])) as PageModel;
+ return new ServiceResult>() { msg = "获取成功", success = true, response = response };
+ }
+
+ ///
+ /// Ghra_Grade -- 根据Id查询数据
+ ///
+ /// 主键ID
+ ///
+ [HttpGet("{Id}")]
+ public async Task> QueryById(long Id)
+ {
+ var entity = (await InvokeServiceAsync("QueryById", [Id]));
+
+ //var entity = ObjectConverter.ConvertToEntity(obj);
+ //var entity = await _service.QueryById(Id);
+ if (entity == null)
+ return ServiceResult