Commit c9e63bfa authored by Sandy's avatar Sandy

修改下载商品和人员的pageSize,提高成功率

parent 94d2e539
......@@ -42,7 +42,7 @@
if (self.currentPage == 0) {
[IBTLoadingView showProgressLabel:@"正在加载..."];
}
[[ICRHTTPController sharedController] getProductWithStartDate:startDate Page_number:self.currentPage page_size:100 success:succ failure:fail];
[[ICRHTTPController sharedController] getProductWithStartDate:startDate Page_number:self.currentPage page_size:100000 success:succ failure:fail];
}
- (void)getLastDateFromServer:(id)data
{
......
......@@ -44,7 +44,7 @@
[IBTLoadingView showProgressLabel:@"正在加载..."];
}
[[ICRHTTPController sharedController] getUserWithStartDate:startDate
Page_number:self.currentPage page_size:100 success:succ failure:fail];
Page_number:self.currentPage page_size:100000 success:succ failure:fail];
}
- (void)getLastDateFromServer:(id)data
{
......
......@@ -598,7 +598,7 @@ typedef enum : NSUInteger {
- (void)editReceiveProduct:(NSNotification *)fination{
NewReceiveProductViewController *nvc = [NewReceiveProductViewController new];
NSInteger indexTag = [[[fination userInfo] objectForKey:@"indexTag"] integerValue];
NSInteger indexTag = [[[fination userInfo] objectForKey:@"indexPath"] integerValue];
TransferPdtDetail *transferPdtDetail = [[fination userInfo] objectForKey:@"transferPdtDetail"];
if (transferPdtDetail) {
nvc.navTitle = @"商品明细";
......
......@@ -136,7 +136,7 @@
TransportPdtDetail *pdDetail = arrSection[row];
NSInteger index = [self.transportProductArr indexOfObject:pdDetail];
[[NSNotificationCenter defaultCenter] postNotificationName:KNOTIFICATION_AddPurchaseProduct object:nil userInfo:@{@"transportPdtDetail":pdDetail,@"indexTag":@(index)}];
[[NSNotificationCenter defaultCenter] postNotificationName:KNOTIFICATION_AddPurchaseProduct object:nil userInfo:@{@"transportPdtDetail":pdDetail,@"indexPath":@(index)}];
}
- (void)refresh {
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment