修复bug
This commit is contained in:
@@ -76,6 +76,7 @@ namespace WMS.Web.Domain.Services.Public
|
||||
|
||||
string json = resData["data"].ToString();
|
||||
var datas = JsonConvert.DeserializeObject<List<ErpInventoryDto>>(json);
|
||||
if (datas != null && datas.Count() > 0)
|
||||
list.AddRange(datas);
|
||||
|
||||
int num = Convert.ToInt32(resData["rowcount"]) / 10000;
|
||||
@@ -94,6 +95,7 @@ namespace WMS.Web.Domain.Services.Public
|
||||
|
||||
json = resData["data"].ToString();
|
||||
datas = JsonConvert.DeserializeObject<List<ErpInventoryDto>>(json);
|
||||
if (datas != null && datas.Count() > 0)
|
||||
list.AddRange(datas);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user