Commit e742b585 by 淡漠

同步成员

1 parent b7feba1a
......@@ -222,8 +222,9 @@ public class WeUserServiceImpl extends ServiceImpl<WeUserMapper,WeUser> implemen
List<WeUser> weUsers
= weUserClient.list(WeConstans.WE_ROOT_DEPARMENT_ID, WeConstans.DEPARTMENT_SUB_WEUSER).getWeUsers();
if(CollectionUtil.isNotEmpty(weUsers)){
this.saveOrUpdateBatch(weUsers);
weUsers.forEach(userInfo ->{
insertWeUserNoToWeCom(userInfo);
});
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!