修复bug
This commit is contained in:
Binary file not shown.
@@ -160,7 +160,7 @@ namespace WMS.Web.Domain.Services
|
||||
//找仓库
|
||||
var l_stock = resStock.Data.FirstOrDefault(f => f.Id == item.wms_co_id);
|
||||
if (l_stock == null) continue;
|
||||
var stock = r.FirstOrDefault(f => f.WarehouseCodeOfLingxing.Equals(l_stock.Name));
|
||||
var stock = r.FirstOrDefault(f => f.WarehouseCodeOfJushuitan.Equals(l_stock.Name));
|
||||
if (stock == null) continue;
|
||||
|
||||
var entity = new ProductInventory()
|
||||
|
||||
@@ -109,6 +109,7 @@ namespace WMS.Web.Domain.Services.Public
|
||||
}
|
||||
string json = resData["data"]["inventorys"].ToString();
|
||||
var datas = JsonConvert.DeserializeObject<List<JuShuiTanInventoryResponse>>(json);
|
||||
datas.ForEach(f => f.wms_co_id = id);
|
||||
list.AddRange(datas);
|
||||
|
||||
int count = Convert.ToInt32(resData["data"]["page_count"]);
|
||||
@@ -125,6 +126,7 @@ namespace WMS.Web.Domain.Services.Public
|
||||
}
|
||||
json = resData["data"]["inventorys"].ToString();
|
||||
datas = JsonConvert.DeserializeObject<List<JuShuiTanInventoryResponse>>(json);
|
||||
datas.ForEach(f => f.wms_co_id = id);
|
||||
list.AddRange(datas);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user