现场问题处理 人工入空托盘堆垛 塑车间信号点位统一整理为配置项等
This commit is contained in:
@@ -43,6 +43,7 @@ namespace Tnb.WarehouseMgr
|
||||
var material_code = "";
|
||||
var container_no = "";
|
||||
var code_batch = "";
|
||||
var loc_usestatus = "";
|
||||
if (!input.queryJson.IsNullOrWhiteSpace())
|
||||
{
|
||||
warehouse_id = JObject.Parse(input.queryJson).Value<string>(nameof(WmsCarryCode.warehouse_id));
|
||||
@@ -50,6 +51,7 @@ namespace Tnb.WarehouseMgr
|
||||
material_code = JObject.Parse(input.queryJson).Value<string>(nameof(WmsCarryCode.material_code));
|
||||
code_batch = JObject.Parse(input.queryJson).Value<string>(nameof(WmsCarryCode.code_batch));
|
||||
container_no = JObject.Parse(input.queryJson).Value<string>(nameof(WmsCarryCode.container_no));
|
||||
loc_usestatus = JObject.Parse(input.queryJson).Value<string>("loc_usestatus");
|
||||
}
|
||||
|
||||
|
||||
@@ -67,6 +69,7 @@ namespace Tnb.WarehouseMgr
|
||||
.WhereIF(!string.IsNullOrEmpty(material_code), (a, b, c, d, e, f) => f.code.Contains(material_code))
|
||||
.WhereIF(!string.IsNullOrEmpty(code_batch), (a, b, c, d, e, f) => e.code_batch.Contains(code_batch))
|
||||
.WhereIF(!string.IsNullOrEmpty(container_no), (a, b, c, d, e, f) => f.material_standard.Contains(container_no))
|
||||
.WhereIF(!string.IsNullOrEmpty(loc_usestatus), (a, b, c, d, e, f) => a.is_use == loc_usestatus)
|
||||
//.OrderByDescending((a, b, c, d, e, f) => b.carry_code)
|
||||
.Select((a, b, c, d, e, f, g) => new WmsCarryStockReport
|
||||
{
|
||||
@@ -114,6 +117,7 @@ namespace Tnb.WarehouseMgr
|
||||
.WhereIF(!string.IsNullOrEmpty(material_code), (a, b, c, d, e, f, g) => g.code.Contains(material_code))
|
||||
.WhereIF(!string.IsNullOrEmpty(code_batch), (a, b, c, d, e, f, g) => f.code_batch.Contains(code_batch))
|
||||
.WhereIF(!string.IsNullOrEmpty(container_no), (a, b, c, d, e, f, g) => g.material_standard.Contains(container_no))
|
||||
.WhereIF(!string.IsNullOrEmpty(loc_usestatus), (a, b, c, d, e, f) => a.is_use == loc_usestatus)
|
||||
.Select((a, b, c, d, e, f, g, h,i) => new WmsCarryStockReport
|
||||
{
|
||||
warehouse_name = c.whname,
|
||||
|
||||
Reference in New Issue
Block a user