采购入库代码部分重写,回传bip调整,采购订单接收调整、小件移库到三层货架
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user