using Dlhis.Common.Request; using Dlhis.Common.Response; using Dlhis.Common.Services; using Kurisu.Core.DataAccess.Dto; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace Dlhis.Common.MealSupplementRecord { /// /// 餐补控制器 /// [Authorize] [Route("api/[controller]")] [ApiController] public class MealSupplementRecordController { private readonly IMealSupplementRecordService _mealSupplementRecordService; public MealSupplementRecordController(IMealSupplementRecordService mealSupplementRecordService) { _mealSupplementRecordService = mealSupplementRecordService; } /// /// 餐补分页 /// /// /// [HttpGet("mealSupplementRecordPage")] public async Task> MealSupplementRecordPageAsync([FromQuery]MealSupplementRecordRequest request) { return await _mealSupplementRecordService.MealSupplementRecordPageAsync(request); } } }