提交代码
This commit is contained in:
@ -29,7 +29,7 @@ namespace WCS.WebApi.Controllers
|
||||
public MatBaseInfoController(IMatBaseInfoService matBaseInfoService, IGenerateService generateMatInfoService)
|
||||
{
|
||||
_matBaseInfoService = matBaseInfoService;
|
||||
_generateMatInfoService = generateMatInfoService;
|
||||
_generateMatInfoService = generateMatInfoService;
|
||||
}
|
||||
|
||||
[Route("getMatBaseInfo")]
|
||||
@ -110,5 +110,17 @@ namespace WCS.WebApi.Controllers
|
||||
{
|
||||
return await _generateMatInfoService.generateMatInfo(request);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取物料明细
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <returns></returns>
|
||||
[Route("getMatInfo")]
|
||||
[HttpPost(Name = "getMatInfo")]
|
||||
public async Task<ResponseBase> getMatInfo(GetMatInfoRequest request)
|
||||
{
|
||||
return await _matBaseInfoService.getMatInfo(request);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user