|
@@ -478,8 +478,6 @@ public class WxCorpInfoServiceImpl extends ServiceImpl<WxCorpInfoMapper, WxCorpI
|
|
|
long startTime = startDateTime.toEpochSecond(ZoneOffset.of("+8"));
|
|
|
endDateTime = endDateTime.withHour(23).withMinute(59).withSecond(0).withNano(0);
|
|
|
long endTime = endDateTime.toEpochSecond(ZoneOffset.of("+8"));
|
|
|
- System.out.println("startTime=" + startTime + ",endTime=" + endTime);
|
|
|
-
|
|
|
int batchCount = 1;
|
|
|
int batchSize = 100;
|
|
|
int totalLength = 1;
|
|
@@ -487,7 +485,6 @@ public class WxCorpInfoServiceImpl extends ServiceImpl<WxCorpInfoMapper, WxCorpI
|
|
|
if (userId == null) {
|
|
|
//获取企业下的全部员工
|
|
|
List<User> users = userMapper.selectList(new QueryWrapper<User>().eq("company_id", companyId).isNotNull("corpwx_userid").eq("is_active", 1));
|
|
|
- System.out.println("获取考勤记录users size==" + users.size());
|
|
|
corpwxUserIds = users.stream().map(User::getCorpwxUserid).collect(Collectors.toList());
|
|
|
totalLength = corpwxUserIds.size();
|
|
|
batchCount = totalLength / batchSize + (totalLength % batchSize == 0 ? 0 : 1);
|