diff --git a/Tiobon.Core.Api/Controllers/Ghre/Ghre_StudyRuleResultController.cs b/Tiobon.Core.Api/Controllers/Ghre/Ghre_StudyRuleResultController.cs index 40c927f9..349b259f 100644 --- a/Tiobon.Core.Api/Controllers/Ghre/Ghre_StudyRuleResultController.cs +++ b/Tiobon.Core.Api/Controllers/Ghre/Ghre_StudyRuleResultController.cs @@ -11,4 +11,20 @@ public class Ghre_StudyRuleResultController : BaseController + /// 根据条件查询数据 + /// + /// RuleId + /// 条件 + /// + [HttpPost, Route("QueryByRuleId/{RuleId}")] + public async Task> Query(long RuleId, [FromBody] QueryBody body) + { + return await _service.QueryFilterPage(body, $"StudyRuleId='{RuleId}'"); + } + + #endregion } \ No newline at end of file diff --git a/Tiobon.Core.Api/Tiobon.Core.xml b/Tiobon.Core.Api/Tiobon.Core.xml index 3fd8f67e..04dab34a 100644 --- a/Tiobon.Core.Api/Tiobon.Core.xml +++ b/Tiobon.Core.Api/Tiobon.Core.xml @@ -961,6 +961,14 @@ 必选修规则结果(Controller) + + + 根据条件查询数据 + + RuleId + 条件 + + 必选修规则人员(Controller) diff --git a/Tiobon.Core.Services/Ghre/Ghre_StudyRuleServices.cs b/Tiobon.Core.Services/Ghre/Ghre_StudyRuleServices.cs index a429658a..f907d1d4 100644 --- a/Tiobon.Core.Services/Ghre/Ghre_StudyRuleServices.cs +++ b/Tiobon.Core.Services/Ghre/Ghre_StudyRuleServices.cs @@ -256,7 +256,7 @@ public class Ghre_StudyRuleServices : BaseServices + + + 根据条件查询数据 + + RuleId + 条件 + + 必选修规则人员(Controller)