-
Notifications
You must be signed in to change notification settings - Fork 349
Description
请描述您的问题
2026-03-06 13:29:48,278 INFO tion.sync.service.ThirdDepartmentService: 259 - 开始首次同步新增数据,同步类型:WECOM, 新增部门用户数量:7
2026-03-06 13:29:48,284 DEBUG tDepartmentMapper.selectAllDepartmentIds: 135 - ==> Preparing: select id from sys_department where organization_id = ?
2026-03-06 13:29:48,285 DEBUG tDepartmentMapper.selectAllDepartmentIds: 135 - ==> Parameters: 100001(String)
2026-03-06 13:29:48,291 DEBUG tDepartmentMapper.selectAllDepartmentIds: 135 - <== Total: 1
2026-03-06 13:29:48,293 DEBUG entCommanderMapper.deleteByDepartmentIds: 135 - ==> Preparing: DELETE FROM sys_department_commander WHERE department_id in ( ? )
2026-03-06 13:29:48,294 DEBUG entCommanderMapper.deleteByDepartmentIds: 135 - ==> Parameters: 317859952414687916(String)
2026-03-06 13:29:48,304 DEBUG entCommanderMapper.deleteByDepartmentIds: 135 - <== Updates: 0
2026-03-06 13:29:48,305 DEBUG ystem.mapper.ExtUserMapper.getAllUserIds: 135 - ==> Preparing: select sys_user.id from sys_user LEFT JOIN sys_organization_user ON sys_user.id = sys_organization_user.user_id WHERE sys_organization_user.organization_id = ? and sys_user.id != 'admin'
2026-03-06 13:29:48,305 DEBUG ystem.mapper.ExtUserMapper.getAllUserIds: 135 - ==> Parameters: 100001(String)
2026-03-06 13:29:48,311 DEBUG ystem.mapper.ExtUserMapper.getAllUserIds: 135 - <== Total: 0
2026-03-06 13:29:48,313 DEBUG OrganizationUserMapper.deleteUserByOrgId: 135 - ==> Preparing: DELETE FROM sys_organization_user WHERE organization_id = ?
2026-03-06 13:29:48,313 DEBUG OrganizationUserMapper.deleteUserByOrgId: 135 - ==> Parameters: 100001(String)
2026-03-06 13:29:48,323 DEBUG OrganizationUserMapper.deleteUserByOrgId: 135 - <== Updates: 0
2026-03-06 13:29:48,338 DEBUG mapper.ExtDepartmentMapper.deleteByOrgId: 135 - ==> Preparing: DELETE FROM sys_department WHERE organization_id = ? and parent_id != 'NONE'
2026-03-06 13:29:48,338 DEBUG mapper.ExtDepartmentMapper.deleteByOrgId: 135 - ==> Parameters: 100001(String)
2026-03-06 13:29:48,348 DEBUG mapper.ExtDepartmentMapper.deleteByOrgId: 135 - <== Updates: 0
2026-03-06 13:29:48,365 DEBUG .ExtMessageTaskMapper.getMessageTaskList: 135 - ==> Preparing: select * from sys_message_task where organization_id = ?;
2026-03-06 13:29:48,366 DEBUG .ExtMessageTaskMapper.getMessageTaskList: 135 - ==> Parameters: 100001(String)
2026-03-06 13:29:48,381 DEBUG .ExtMessageTaskMapper.getMessageTaskList: 135 - <== Total: 33
2026-03-06 13:29:48,386 DEBUG r.ExtMessageTaskMapper.updateMessageTask: 135 - ==> Preparing: update sys_message_task SET email_enable = ?, we_com_enable = ?, ding_talk_enable = ?, lark_enable = ? where organization_id = ?
2026-03-06 13:29:48,386 DEBUG r.ExtMessageTaskMapper.updateMessageTask: 135 - ==> Parameters: false(Boolean), false(Boolean), false(Boolean), false(Boolean), 100001(String)
2026-03-06 13:29:48,396 DEBUG r.ExtMessageTaskMapper.updateMessageTask: 135 - <== Updates: 33
2026-03-06 13:29:48,463 DEBUG tOrganizationConfigMapper.updateSyncFlag: 135 - ==> Preparing: update sys_organization_config set sync = ?, sync_resource = ? where organization_id = ? and type = ?
2026-03-06 13:29:48,463 DEBUG tOrganizationConfigMapper.updateSyncFlag: 135 - ==> Parameters: true(Boolean), WECOM(String), 100001(String), THIRD(String)
2026-03-06 13:29:48,472 DEBUG tOrganizationConfigMapper.updateSyncFlag: 135 - <== Updates: 1
2026-03-06 13:29:48,472 INFO tion.sync.service.ThirdDepartmentService: 191 - 同步组织架构完成,同步类型:WECOM
2026-03-06 13:29:48,496 INFO tion.sync.service.ThirdDepartmentService: 296 - 组织架构同步成功通知已发送,操作人:admin,同步类型:WECOM
2026-03-06 13:29:48,500 INFO tion.sync.service.ThirdDepartmentService: 349 - 已从 Redis 删除同步状态, key: org_sync_status:100001
2026-03-06 13:29:48,503 DEBUG nableMessageTaskByReceiveTypeAndTaskType: 135 - ==> Preparing: select * from sys_message_task where organization_id = ? and task_type = ? and (sys_enable = 1 or email_enable=1 or we_com_enable=1 or ding_talk_enable=1 or lark_enable=1);
2026-03-06 13:29:48,503 DEBUG nableMessageTaskByReceiveTypeAndTaskType: 135 - ==> Parameters: 100001(String), SYSTEM(String)
2026-03-06 13:29:48,509 DEBUG nableMessageTaskByReceiveTypeAndTaskType: 135 - <== Total: 1
2026-03-06 13:29:48,539 DEBUG mapper.ExtUserMapper.getOrgUserByUserIds: 135 - ==> Preparing: SELECT sys_user.id, sys_user.name, sys_user.email, sys_user.phone FROM sys_user LEFT JOIN sys_organization_user on sys_organization_user.user_id = sys_user.id WHERE sys_organization_user.organization_id = ? AND sys_user.id IN ( ? )
2026-03-06 13:29:48,540 DEBUG mapper.ExtUserMapper.getOrgUserByUserIds: 135 - ==> Parameters: 100001(String), admin(String)
2026-03-06 13:29:48,545 DEBUG mapper.ExtUserMapper.getOrgUserByUserIds: 135 - <== Total: 0
2026-03-06 13:29:48,567 INFO .notice.sender.insite.InSiteNoticeSender: 49 - 系统内发送通知,接收者为:[{"userId":"admin","type":"SYSTEM_NOTICE"}]
2026-03-06 13:29:48,593 WARN cn.cordys.security.SessionUtils: 48 - 后台获取在线用户失败: No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadContext or as a vm static singleton. This is an invalid application configuration.