|
|
|
@ -110,7 +110,7 @@ public class CpUserServiceImpl extends ServiceImpl<CpUserMapper,CpUserDO> implem
|
|
|
|
|
public void cpUserSync() throws WxErrorException { |
|
|
|
|
WxCpConfigStorage config = wxCpService.getWxCpConfigStorage(); |
|
|
|
|
List<WxCpDepart> departList = wxCpService.getDepartmentService().list(null); |
|
|
|
|
List<WxCpUser> userList = wxCpService.getUserService().listByDepartment(35L, true, 0); |
|
|
|
|
List<WxCpUser> userList = wxCpService.getUserService().listByDepartment(1L, true, 0); |
|
|
|
|
|
|
|
|
|
List<CpUserDO> rs = CpUserConvert.INSTANCE.convertListFromWxApi(userList); |
|
|
|
|
|
|
|
|
|