载具绑定物料

This commit is contained in:
2024-05-30 11:32:45 +08:00
parent 260dd5d195
commit 892d758dbf
4 changed files with 27 additions and 19 deletions

View File

@@ -288,12 +288,6 @@ namespace Tnb.WarehouseMgr
SqlSugarClient cyDb = _db.CopyNew();
string sss = cyDb.Queryable<WmsCarryH>().LeftJoin<WmsCarryCode>((a, b) => a.id == b.carry_id)
.LeftJoin<BasLocation>((a, b, c) => a.location_id == c.id)
.Where(whereExpr)
//.OrderByIF((a,b,c)=>SqlFunc.IsNullOrEmpty())
.OrderBy("a.location_code,layers,loc_line,loc_column").ToSqlString();
List<Tuple<string, WmsCarryH, WmsCarryCode, BasLocation>> items = cyDb.Queryable<WmsCarryH>().LeftJoin<WmsCarryCode>((a, b) => a.id == b.carry_id)
.LeftJoin<BasLocation>((a, b, c) => a.location_id == c.id)