Commit f6379fda by huangZW

111

parent b334bd3c
...@@ -45,6 +45,10 @@ public class PreDealServiceImpl implements PreDealService { ...@@ -45,6 +45,10 @@ public class PreDealServiceImpl implements PreDealService {
//插入不存在的我们pre表的企业微信数据 //插入不存在的我们pre表的企业微信数据
int count = list.size(); int count = list.size();
int pre = count/pageSize+1; int pre = count/pageSize+1;
int yushu = count%pageSize;
if(yushu==0){
pre = pre - 1;
}
int i= 0; int i= 0;
while(i<pre){ while(i<pre){
logger.info("这是第{}次,进入",i); logger.info("这是第{}次,进入",i);
......
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