PDA仓库存货调整

This commit is contained in:
2024-07-15 15:01:40 +08:00
parent 9e85bc8d4a
commit 11d23f211f
3 changed files with 32 additions and 19 deletions

View File

@@ -70,16 +70,16 @@ namespace ZR.Admin.WebApi.Controllers
[HttpGet("shortPatchsearch")]
public IActionResult QueryshortPatch(CommonQueryDto parm)
{
List<WmGoodShortPackageCodeDto> response = _WmGoodsNowProductionService.QueryshortPatch(parm);
(List<WmGoodShortPackageCodeDto>,int) response = _WmGoodsNowProductionService.QueryshortPatch(parm);
var json = new
{
list = response,
total = response.Count
list = response.Item1,
total = response.Item2
};
return ToResponse(new ApiResult(200, "ok", json));
}
/// <summary>
/// 移动端 短批次号查询
/// 移动端 短批次号详细信息查询
/// </summary>
/// <param name="parm"></param>
/// <returns></returns>
@@ -87,7 +87,12 @@ namespace ZR.Admin.WebApi.Controllers
public IActionResult Patchsearchdetail(WmGoodsNowProductionQueryDto parm)
{
var response = _WmGoodsNowProductionService.Patchsearchdetail(parm);
return SUCCESS(response);
var json = new
{
list = response.Item1,
total = response.Item2
};
return ToResponse(new ApiResult(200, "ok", json));
}
/// <summary>