库存接口

This commit is contained in:
tongfei
2023-11-23 11:38:29 +08:00
parent c4f90f0c7e
commit 8aee4380fe
8 changed files with 81 additions and 30 deletions

View File

@@ -177,6 +177,8 @@ namespace WMS.Web.Api.Controllers
if (loginInfo == null || loginInfo.UserInfo == null)
return Result<BoxInventoryResponse>.ReFailure(ResultCodes.Token_Invalid_Error);
var result = await _boxInventoryRepositories.GetInfoBy(boxBillNo);
if(result==null)
return Result<BoxInventoryResponse>.ReFailure(ResultCodes.BoxInventoryNoDataError);
return Result <BoxInventoryResponse>.ReSuccess(result);
}
}