采购入库代码部分重写,回传bip调整,采购订单接收调整、小件移库到三层货架

This commit is contained in:
2024-09-29 18:10:14 +08:00
parent e6a0066616
commit 6517149d58
9 changed files with 396 additions and 230 deletions

View File

@@ -318,7 +318,6 @@ namespace Tnb.WarehouseMgr
.AndIF(input.AvoidBusyPassage, it => !busyPassages.Contains(it.passage))
.AndIF(!string.IsNullOrEmpty(input.passage), it => it.passage == input.passage)
.ToExpression();
items = await db.Queryable<BasLocation>().Where(whereExp).OrderBy(policy.policy).ToListAsync();
}
catch (Exception)
@@ -504,7 +503,7 @@ namespace Tnb.WarehouseMgr
.LeftJoin<BasLocation>((a, b, c) => a.location_id == c.id)
.Where(whereExpr)
//.OrderByIF((a,b,c)=>SqlFunc.IsNullOrEmpty())
.OrderBy("b.codeqty desc")
.OrderBy("b.codeqty")
.Select((a, b, c) => new
{
WmsCarryH = a,