校准接口优化

This commit is contained in:
tongfei
2023-11-10 10:16:26 +08:00
parent f1543a78d5
commit 6eb99c2082
4 changed files with 31 additions and 1 deletions

View File

@@ -36,6 +36,13 @@ namespace WMS.Web.Domain.Infrastructure
/// <returns></returns>
Task<InStockTask> GetBy(string boxBillNo);
/// <summary>
/// 实体:根据来源单号
/// </summary>
/// <param name="sourceBillNo"></param>
/// <returns></returns>
Task<InStockTask> GetBySource(string sourceBillNo);
/// <summary>
/// 箱号是否绑定了入库任务单实体:待入库和部分入库状态中
/// </summary>

View File

@@ -52,7 +52,7 @@ namespace WMS.Web.Domain.Services
bool isTransaction = false;
//2.查看是否有入库任务单
var task = await _inStockTaskRepositories.GetBy(sourceBillNo);
var task = await _inStockTaskRepositories.GetBySource(sourceBillNo);
if (task == null)
return ResultList<InStockTaskBillNoQueryResponse>.ReFailure(ResultCodes.OrderNoData);