@@ -175,7 +175,7 @@ public class HandleXiaomanData {
int totalItem = customerListApiVo.getTotalItem();
totalPage = (totalItem / PAGE_SIZE) + (totalItem % PAGE_SIZE > 0 ? 1 : 0);
pageIndex++;
- } while (pageIndex <= totalPage);
+ } while (pageIndex < totalPage);
} catch (Exception e) {
e.printStackTrace();
}