管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2022-10-13 e9aa558bc6d3ae584d20ba089d6be878516de73a
1
已修改3个文件
11 ■■■■ 文件已修改
data/db_fn.sql 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
data/menu-执行.xls 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/lf/server/helper/SpringContextHelper.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
data/db_fn.sql
@@ -1,4 +1,7 @@
----------------------------------------------------------------------------------------------------- é€’归查询
----------------------------------------------------------------------------------------------------- 1.查询连接数
show max_connections;
select count(1) from pg_stat_activity;
----------------------------------------------------------------------------------------------------- a.递归查询
--------------------------------------------------------- æŸ¥è¯¢èœå•
select * from lf.sys_menu order by order_num;
@@ -26,9 +29,6 @@
  select a.* from lf.sys_dir a, rs b where a.pid=b.id
)
select * FROM rs order by order_num;
----------------------------------------------------------------------------------------------------- a.查询连接数
show max_connections;
select count(1) from pg_stat_activity;
----------------------------------------------------------------------------------------------------- b.查询表结构
select * from pg_tables;
select * from pg_class order by relnamespace;
data/menu-Ö´ÐÐ.xls
Binary files differ
src/main/java/com/lf/server/helper/SpringContextHelper.java
@@ -9,8 +9,7 @@
 * Spring上下文帮助类
 * @author WWW
 */
//@Component
@SuppressWarnings("AlibabaCommentsMustBeJavadocFormat")
@Component
public class SpringContextHelper implements ApplicationContextAware {
    private static ApplicationContext context = null;