获取一检生产的工单
This commit is contained in:
parent
fba29f73fc
commit
e0afea26c2
@ -1,9 +1,10 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using ZR.Admin.WebApi.Extensions;
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model.MES.qc.DTO;
|
||||
using ZR.Service.BI.IService;
|
||||
using ZR.Service.mes.mm;
|
||||
using ZR.Service.mes.pro;
|
||||
|
||||
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 ZR.Model.MES.pro;
|
||||
using ZR.Model.MES.pro.DTO;
|
||||
using ZR.Model.MES.qc.DTO;
|
||||
|
||||
namespace ZR.Service.BI.IService
|
||||
{
|
||||
@ -27,6 +28,6 @@ namespace ZR.Service.BI.IService
|
||||
/// <returns></returns>
|
||||
List<ProWorkorder_v2> TodayFinishProductionProWorkorder();
|
||||
|
||||
|
||||
QcCurrentWorkorderDto GetProductingWorkorder();
|
||||
}
|
||||
}
|
||||
|
||||
@ -7,8 +7,11 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using ZR.Model.MES.pro;
|
||||
using ZR.Model.MES.qc.DTO;
|
||||
using ZR.Service.BI.IService;
|
||||
using ZR.Service.mes.mm.IService;
|
||||
using ZR.Service.mes.pro;
|
||||
using ZR.Service.mes.qc;
|
||||
|
||||
namespace ZR.Service.BI
|
||||
{
|
||||
@ -86,5 +89,11 @@ namespace ZR.Service.BI
|
||||
}
|
||||
|
||||
|
||||
public QcCurrentWorkorderDto GetProductingWorkorder()
|
||||
{
|
||||
return FirstFQCService.Now_producting_Workorder_first;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user