2024-10-12 16:30:09 +08:00

45 lines
1.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using Microsoft.AspNetCore.Mvc;
using DOAN.Model.Dto;
using DOAN.Admin.WebApi.Filters;
using DOAN.Infrastructure;
using Aliyun.OSS;
using DOAN.Service.MES.quality.IPQC.IService;
using DOAN.Model.MES.quality.IPQC.Dto;
using DOAN.Model.MES.quality.IPQC;
using DOAN.Service.MES.quality.IQC.IService;
using DOAN.Service.MES.quality.IPQC;
//创建时间2024-09-30
namespace DOAN.WebApi.Controllers.MES.quality.IQC
{
/// <summary>
/// 缺陷收集
/// </summary>
[Verify]
[Route("mes/qualityManagement/QcDefectCollection")]
public class QcReportLossController : BaseController
{
private IQcReportService qcReportService;
public QcReportLossController(IQcReportService qcReportService)
{
this.qcReportService = qcReportService;
}
//TODO 获取报损单
[HttpGet("list")]
[ActionPermissionFilter(Permission = "qualityManagement:qcdefectcollection:list")]
public IActionResult QueryQcDefectCollection([FromQuery] QcDefectCollectionQueryDto2 parm)
{
var response = qcReportService.GetList(parm);
return SUCCESS(response);
}
}
}