校准接口优化
This commit is contained in:
@@ -180,6 +180,22 @@ namespace WMS.Web.Repositories
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 实体:根据来源单号
|
||||
/// </summary>
|
||||
/// <param name="sourceBillNo"></param>
|
||||
/// <returns></returns>
|
||||
public async Task<InStockTask> GetBySource(string sourceBillNo)
|
||||
{
|
||||
var entity = await _context.InStockTask
|
||||
.Include(s => s.Boxs)
|
||||
.Include(s => s.Details)
|
||||
.Where(w => w.SourceBillNo==sourceBillNo).FirstOrDefaultAsync();
|
||||
|
||||
return entity;
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 箱号是否绑定了任务实体:待入库和部分入库状态中
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user