质量统计
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取质量统计表
|
||||
/// </summary>
|
||||
/// <param name="workorderid"></param>
|
||||
/// <param name="pageNum"></param>
|
||||
/// <param name="pageSize"></param>
|
||||
/// <param name="year"></param>
|
||||
/// <param name="week"></param>
|
||||
/// <param name="date"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("gueryQualityStatisticsTable")]
|
||||
public IActionResult GueryQualityStatisticsTable(int pageNum, int pageSize, int year = -1, int week = -1, int date = -1, string workorderid = "")
|
||||
{
|
||||
(List<QcFqcDTO>, int) data = operationService.GueryQualityStatistics(workorderid,pageNum, pageSize, year, week, date);
|
||||
|
||||
return ToResponse(new ApiResult(200, "success", data));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user