获取一检生产的工单
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using ZR.Admin.WebApi.Extensions;
|
using ZR.Admin.WebApi.Extensions;
|
||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Admin.WebApi.Filters;
|
||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Model.MES.qc.DTO;
|
||||||
using ZR.Service.BI.IService;
|
using ZR.Service.BI.IService;
|
||||||
using ZR.Service.mes.mm;
|
using ZR.Service.mes.mm;
|
||||||
|
using ZR.Service.mes.pro;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers.BI
|
namespace ZR.Admin.WebApi.Controllers.BI
|
||||||
{
|
{
|
||||||
@@ -60,5 +61,14 @@ namespace ZR.Admin.WebApi.Controllers.BI
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取一检生产的工单
|
||||||
|
/// <summmary>
|
||||||
|
[HttpGet("getProductingWorkorder")]
|
||||||
|
public IActionResult GetProductingWorkorder()
|
||||||
|
{
|
||||||
|
|
||||||
|
return SUCCESS(productionDashboard.GetProductingWorkorder());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ using System.Text;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using ZR.Model.MES.pro;
|
using ZR.Model.MES.pro;
|
||||||
using ZR.Model.MES.pro.DTO;
|
using ZR.Model.MES.pro.DTO;
|
||||||
|
using ZR.Model.MES.qc.DTO;
|
||||||
|
|
||||||
namespace ZR.Service.BI.IService
|
namespace ZR.Service.BI.IService
|
||||||
{
|
{
|
||||||
@@ -27,6 +28,6 @@ namespace ZR.Service.BI.IService
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
List<ProWorkorder_v2> TodayFinishProductionProWorkorder();
|
List<ProWorkorder_v2> TodayFinishProductionProWorkorder();
|
||||||
|
|
||||||
|
QcCurrentWorkorderDto GetProductingWorkorder();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,8 +7,11 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using ZR.Model.MES.pro;
|
using ZR.Model.MES.pro;
|
||||||
|
using ZR.Model.MES.qc.DTO;
|
||||||
using ZR.Service.BI.IService;
|
using ZR.Service.BI.IService;
|
||||||
using ZR.Service.mes.mm.IService;
|
using ZR.Service.mes.mm.IService;
|
||||||
|
using ZR.Service.mes.pro;
|
||||||
|
using ZR.Service.mes.qc;
|
||||||
|
|
||||||
namespace ZR.Service.BI
|
namespace ZR.Service.BI
|
||||||
{
|
{
|
||||||
@@ -86,5 +89,11 @@ namespace ZR.Service.BI
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public QcCurrentWorkorderDto GetProductingWorkorder()
|
||||||
|
{
|
||||||
|
return FirstFQCService.Now_producting_Workorder_first;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user