测试
This commit is contained in:
@@ -52,11 +52,11 @@ namespace WMS.Web.Domain.Services.Public
|
||||
var isSuccess = Login(httpClient);
|
||||
string baseUrl = _erpOptions.EndpointAddress.Replace("/ERPGW.asmx", "");
|
||||
httpClient.Url = string.Format("{0}/Kingdee.K3.SCM.WebApi.ServicesStub.InventoryQueryService.GetInventoryData.common.kdsvc", baseUrl);
|
||||
int count = stockCodes.Count() / 10;
|
||||
int count = stockCodes.Count() / 5;
|
||||
count = count + 1;
|
||||
for (int ic = 1; ic <= count; ic++)
|
||||
{
|
||||
var codes = stockCodes.Skip((ic-1) * 10).Take(10).ToList();
|
||||
var codes = stockCodes.Skip((ic-1) * 5).Take(5).ToList();
|
||||
if (codes.Count() <= 0)
|
||||
{
|
||||
return Result<List<ErpInventoryDto>>.ReSuccess(list.Where(w => w.Qty > 0 || w.BeforeQty > 0).ToList());
|
||||
|
||||
Reference in New Issue
Block a user