Commit eb296286 by huangZW

修改常量

parent 884b9059
......@@ -51,6 +51,7 @@ import java.util.stream.Collectors;
@Service
public class QywxGroupSyncOperation implements BaseSyncOperation {
private static final Logger logger = LoggerFactory.getLogger(QywxGroupSyncOperation.class);
private static final int pageSize = 500;
@Autowired
private DepartmentService departmentService;
......@@ -224,7 +225,6 @@ public class QywxGroupSyncOperation implements BaseSyncOperation {
}).collect(Collectors.toList());
//插入不存在的我们pre表的企业微信数据
int count = preDealLogList.size();
int pageSize = 500;
int pre = count/pageSize+1;
int i= 0;
while(i<pre){
......
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