|
|
@@ -769,10 +769,13 @@ public class OrganizationUserServiceImpl extends SuperService {
|
|
|
* @param id
|
|
|
* @return
|
|
|
*/
|
|
|
+ @Transactional
|
|
|
public ResultContent deleteOrgUser(String id) {
|
|
|
OrganizationUser organizationUser = organizationUserDao.findTopById(id);
|
|
|
if (ObjectUtils.isNotEmpty(organizationUser)) {
|
|
|
organizationUserDao.delete(organizationUser);
|
|
|
+
|
|
|
+
|
|
|
OrgUserBindUpdateSyncEvent event = new OrgUserBindUpdateSyncEvent(this, List.of(id), DataOperationType.Delete);
|
|
|
applicationContext.publishEvent(event);
|
|
|
}
|