namespace Tiobon.Core.Api.Controllers; /// /// 必选修规则结果(Controller) /// [Route("api/[controller]")] [ApiController, GlobalActionFilter] [Authorize(Permissions.Name), ApiExplorerSettings(GroupName = Grouping.GroupName_Ghre)] public class Ghre_StudyRuleResultController : BaseController { public Ghre_StudyRuleResultController(IGhre_StudyRuleResultServices service) : base(service) { } #region 根据条件查询数据 /// /// 根据条件查询数据 /// /// RuleId /// 条件 /// [HttpPost, Route("QueryByRuleId/{RuleId}")] public async Task> Query(long RuleId, [FromBody] QueryBody body) { return await _service.QueryFilterPage(body, $"StudyRuleId='{RuleId}'"); } #endregion }