|
|
|
@ -16,12 +16,16 @@ import com.ibeetl.admin.core.util.PlatformException;
|
|
|
|
|
import org.apache.commons.collections4.CollectionUtils;
|
|
|
|
|
import org.beetl.sql.core.engine.PageQuery;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.cache.annotation.Cacheable;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
import static com.ibeetl.admin.core.service.CorePlatformService.USER_FUNCTION_TREE_CACHE;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @author TLT
|
|
|
|
|
*
|
|
|
|
@ -120,6 +124,7 @@ public class FunctionConsoleService extends CoreBaseService<CoreFunction> {
|
|
|
|
|
* @param userId
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@Cacheable(value=USER_FUNCTION_TREE_CACHE, key="userId")
|
|
|
|
|
public String getFunctionIdByUser(Long userId){
|
|
|
|
|
return this.roleFunctionConsoleDao.getFunctionIdByUser(userId);
|
|
|
|
|
}
|
|
|
|
|