using Microsoft.AspNetCore.Mvc; using ZR.Model.mes.pro; using ZR.Model.MES.op.DTO; using ZR.Service.mes.pro; using ZR.Service.MES.op.IService; namespace ZR.Admin.WebApi.Controllers.mes.op.quality { [Route("mes/op/operation/quality")] public class QualityStatisticsController : BaseController { private readonly IOperationService operationService; public QualityStatisticsController(IOperationService operationService) { this.operationService = operationService; } /// /// 获取质量统计表 /// /// /// /// /// /// /// /// [HttpGet("gueryQualityStatisticsTable")] public IActionResult GueryQualityStatisticsTable(int pageNum, int pageSize, int year = -1, int week = -1, int date = -1, string workorderid = "") { (List, int) data = operationService.GueryQualityStatistics(workorderid,pageNum, pageSize, year, week, date); return ToResponse(new ApiResult(200, "success", data)); } } }