成品入库
This commit is contained in:
parent
bd89356c8f
commit
10b5c73c96
@ -223,5 +223,34 @@ namespace DOAN.Admin.WebApi.Controllers
|
||||
var response = _ProReportworkService.ManualGenerationOfReportWork(workorder, HttpContext.GetName());
|
||||
return SUCCESS(response);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 批量成品入库
|
||||
/// </summary>
|
||||
/// <param name="startTime"></param>
|
||||
/// <param name="endTime"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("batchPutInFinProduct")]
|
||||
[AllowAnonymous]
|
||||
public IActionResult batchPutInFinProduct([FromQuery] DateTime startTime,DateTime endTime)
|
||||
{
|
||||
var response = _ProReportworkService.batchPutInFinProduct(startTime,endTime);
|
||||
return SUCCESS(response);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 单条成品入库或驳回
|
||||
/// </summary>
|
||||
/// <param name="Id"></param>
|
||||
/// <param name="type"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("putInAndReject")]
|
||||
[AllowAnonymous]
|
||||
public IActionResult putInAndReject([FromQuery] string Id,int type)
|
||||
{
|
||||
var response = _ProReportworkService.putInAndReject(Id, type);
|
||||
return SUCCESS(response);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user