校准接口优化
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user