diff --git a/DOAN.Admin.WebApi/Controllers/MES/product/ProReportworkController.cs b/DOAN.Admin.WebApi/Controllers/MES/product/ProReportworkController.cs index fc9074d..84ef466 100644 --- a/DOAN.Admin.WebApi/Controllers/MES/product/ProReportworkController.cs +++ b/DOAN.Admin.WebApi/Controllers/MES/product/ProReportworkController.cs @@ -223,5 +223,34 @@ namespace DOAN.Admin.WebApi.Controllers var response = _ProReportworkService.ManualGenerationOfReportWork(workorder, HttpContext.GetName()); return SUCCESS(response); } - } + + /// + /// 批量成品入库 + /// + /// + /// + /// + [HttpGet("batchPutInFinProduct")] + [AllowAnonymous] + public IActionResult batchPutInFinProduct([FromQuery] DateTime startTime,DateTime endTime) + { + var response = _ProReportworkService.batchPutInFinProduct(startTime,endTime); + return SUCCESS(response); + } + + + /// + /// 单条成品入库或驳回 + /// + /// + /// + /// + [HttpGet("putInAndReject")] + [AllowAnonymous] + public IActionResult putInAndReject([FromQuery] string Id,int type) + { + var response = _ProReportworkService.putInAndReject(Id, type); + return SUCCESS(response); + } + } } \ No newline at end of file