This commit is contained in:
2024-11-12 11:38:34 +08:00
parent 20fa0505c1
commit 7d8bbd83a2

View File

@@ -69,7 +69,7 @@ namespace Tnb.WarehouseMgr
.WhereIF(!string.IsNullOrEmpty(container_no), (a, b, c, d, e, f) => f.material_standard.Contains(container_no))
.WhereIF(!string.IsNullOrEmpty(material_code), (a, b, c, d, e, f) => f.code.Contains(material_code))
.WhereIF(!string.IsNullOrEmpty(warehouse_id), (a, b, c, d, e, f) => c.wh_id == warehouse_id)
.Where((a, b, c, d, e, f) => c.is_type == ((int)EnumLocationType.).ToString())
.Where((a, b, c, d, e, f) => c.is_type == ((int)EnumLocationType.).ToString() || c.is_type == ((int)EnumLocationType.).ToString())
.Select((a, b, c, d, e, f, g, h, i) => new WmsStockReportH
{
org_id = e.org_id,
@@ -145,7 +145,7 @@ namespace Tnb.WarehouseMgr
.WhereIF(!string.IsNullOrEmpty(container_no), (a, b, c, d, e, f, g, h) => f.material_standard.Contains(container_no))
.WhereIF(!string.IsNullOrEmpty(material_code), (a, b, c, d, e, f) => f.code.Contains(material_code))
.WhereIF(!string.IsNullOrEmpty(warehouse_id), (a, b, c, d, e, f) => c.wh_id == warehouse_id)
.Where((a, b, c, d, e, f) => c.is_type == ((int)EnumLocationType.).ToString())
.Where((a, b, c, d, e, f) => c.is_type == ((int)EnumLocationType.).ToString() || c.is_type == ((int)EnumLocationType.).ToString())
.Select((a, b, c, d, e, f, g, h, i) => new WmsStockReportH
{
org_id = e.org_id,