示例#1
0
 public int GetShippedOutQty(params string[] codes)
 {
     return(codes.Sum(code => WarehouseResults.ContainsKey(code) ? WarehouseResults[code].ShippedOutNum : 0));
 }
示例#2
0
 public int GetPackQty(params string[] codes)
 {
     return(codes.Sum(code => WarehouseResults.ContainsKey(code) ? WarehouseResults[code].PackDisplayQty : 0));
 }
示例#3
0
 public int GetPickedQty(params string[] codes)
 {
     return(codes.Sum(code => WarehouseResults.ContainsKey(code) ? WarehouseResults[code].PickedNum : 0));
 }
示例#4
0
 public int GetProcessingQty(params string[] codes)
 {
     return(codes.Sum(code => WarehouseResults.ContainsKey(code) ? WarehouseResults[code].ProcessingQty : 0));
 }
示例#5
0
 public int GetViewAllQty(params string[] codes)
 {
     return(codes.Sum(code => WarehouseResults.ContainsKey(code) ? WarehouseResults[code].ViewAllQty : 0));
 }
示例#6
0
 public WarehouseQtyResult GetWarehouseResult(string warehouseCode)
 {
     return(WarehouseResults.ContainsKey(warehouseCode) ? WarehouseResults[warehouseCode] : null);
 }
示例#7
0
 public int?GetProblemQty(params string[] codes)
 {
     return(codes.Sum(code => WarehouseResults.ContainsKey(code) ? WarehouseResults[code].ProblemNum : 0));
 }
示例#8
0
 public int?GetRFAssignedQty(params string[] codes)
 {
     return(codes.Sum(code => WarehouseResults.ContainsKey(code) ? WarehouseResults[code].RfAssignedNum : 0));
 }