using Entity.DbModel.Station; using Entity.Dto.Req; using Entity.Dto.Resp; using HybirdFrameworkCore.Entity; using Microsoft.AspNetCore.Mvc; using Service.Station; namespace WebStarter.Controllers.Test; [ApiController] [Route("api/[controller]")] public class SysRunningFaultController { private readonly SysRunningFaultService _sysRunningFaultService; public SysRunningFaultController(SysRunningFaultService sysRunningFaultService) { _sysRunningFaultService = sysRunningFaultService; } /// /// 查询系统设备运行时故障 /// /// 每页显示多少条 /// [HttpPost] [Route("page")] public async Task>> Page(int inputPage) { return Result>.Success(await _sysRunningFaultService.Page(inputPage)); } }