package org.springblade.flow.engine.custom.manager;//package jnpf.engine.custom.session.manager;
//
//import lombok.extern.slf4j.Slf4j;
//import org.activiti.engine.identity.Group;
//import org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl;
//import org.activiti.engine.impl.persistence.entity.GroupEntityManager;
//import org.activiti.engine.impl.persistence.entity.GroupEntityManagerImpl;
//import org.activiti.engine.impl.persistence.entity.data.GroupDataManager;
//import org.springframework.stereotype.Component;
//
//import java.util.Collections;
//import java.util.List;
//
///**
// * 使用taskAssigneeOrAssigned方法 会导致查询act_id_group表 哪怕实际上此表数据为空,也仍然会查库  重写之后直接内存返回空即可
// * 也不会影响查询结果
// */
//@Slf4j
//public class CustomGroupEntityManager extends GroupEntityManagerImpl {
//    public CustomGroupEntityManager(ProcessEngineConfigurationImpl processEngineConfiguration, GroupDataManager groupDataManager) {
//        super(processEngineConfiguration, groupDataManager);
//    }
//
//    @Override
//    public List<Group> findGroupsByUser(String userId) {
//        return Collections.emptyList();
//    }
//
//
//
//}
