Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
njgzx
dataease
Commits
50be91cc
提交
50be91cc
authored
5月 19, 2021
作者:
wangjiahao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: 顶级目录权限错误问题
上级
8b4753d9
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
16 行增加
和
15 行删除
+16
-15
ExtChartGroupMapper.xml
.../java/io/dataease/base/mapper/ext/ExtChartGroupMapper.xml
+2
-2
ExtChartViewMapper.xml
...n/java/io/dataease/base/mapper/ext/ExtChartViewMapper.xml
+2
-2
ExtDataSetGroupMapper.xml
...ava/io/dataease/base/mapper/ext/ExtDataSetGroupMapper.xml
+2
-2
ExtDataSetTableMapper.xml
...ava/io/dataease/base/mapper/ext/ExtDataSetTableMapper.xml
+2
-2
ExtDataSourceMapper.xml
.../java/io/dataease/base/mapper/ext/ExtDataSourceMapper.xml
+4
-4
ExtPanelGroupMapper.xml
.../java/io/dataease/base/mapper/ext/ExtPanelGroupMapper.xml
+2
-2
en.js
frontend/src/lang/en.js
+2
-1
没有找到文件。
backend/src/main/java/io/dataease/base/mapper/ext/ExtChartGroupMapper.xml
浏览文件 @
50be91cc
...
...
@@ -13,9 +13,9 @@
select
id, `name`, pid, `level`, `type`, create_by, create_time,`name` as label,
get_auths(id,'chart',#{userId}) as `privileges`
from chart_group
from
(select GET_V_AUTH_MODEL_ID_P_USE (#{userId}, 'chart') cids) t,
chart_group
<where>
FIND_IN_SET(chart_group.id,
GET_V_AUTH_MODEL_ID_P_USE(#{userId},'chart')
)
FIND_IN_SET(chart_group.id,
cids
)
<if
test=
"id != null"
>
and chart_group.id = #{id,jdbcType=VARCHAR}
</if>
...
...
backend/src/main/java/io/dataease/base/mapper/ext/ExtChartViewMapper.xml
浏览文件 @
50be91cc
...
...
@@ -14,9 +14,9 @@
id, `name`, scene_id, table_id, `type`, title, create_by, create_time, update_time,
style_priority,x_axis, y_axis, custom_attr, custom_style, custom_filter, snapshot,
get_auths(id,'chart',#{userId}) as `privileges`
from chart_view
from
(select GET_V_AUTH_MODEL_ID_P_USE (#{userId}, 'chart') cids) t,
chart_view
<where>
FIND_IN_SET(chart_view.id,
GET_V_AUTH_MODEL_ID_P_USE(#{userId},'chart')
)
FIND_IN_SET(chart_view.id,
cids
)
<if
test=
"sceneId != null"
>
and scene_id = #{sceneId,jdbcType=VARCHAR}
</if>
...
...
backend/src/main/java/io/dataease/base/mapper/ext/ExtDataSetGroupMapper.xml
浏览文件 @
50be91cc
...
...
@@ -13,9 +13,9 @@
select
id, `name`, pid, `level`, `type`, create_by, create_time,`name` as label,
get_auths(id,'dataset',#{userId}) as `privileges`
from dataset_group
from
(select GET_V_AUTH_MODEL_ID_P_USE (#{userId}, 'dataset') cids) t,
dataset_group
<where>
FIND_IN_SET(dataset_group.id,
GET_V_AUTH_MODEL_ID_P_USE(#{userId},'dataset')
)
FIND_IN_SET(dataset_group.id,
cids
)
<if
test=
"id != null"
>
and dataset_group.id = #{id,jdbcType=VARCHAR}
</if>
...
...
backend/src/main/java/io/dataease/base/mapper/ext/ExtDataSetTableMapper.xml
浏览文件 @
50be91cc
...
...
@@ -12,9 +12,9 @@
select
id, `name`, scene_id, data_source_id, `type`, `mode`,`info`, create_by, create_time,
get_auths(id,'dataset',#{userId}) as `privileges`
from dataset_table
from
(select GET_V_AUTH_MODEL_ID_P_USE (#{userId}, 'dataset') cids) t,
dataset_table
<where>
FIND_IN_SET(dataset_table.id,
GET_V_AUTH_MODEL_ID_P_USE(#{userId},'dataset')
)
FIND_IN_SET(dataset_table.id,
cids
)
<if
test=
"sceneId != null"
>
and scene_id = #{sceneId,jdbcType=VARCHAR}
</if>
...
...
backend/src/main/java/io/dataease/base/mapper/ext/ExtDataSourceMapper.xml
浏览文件 @
50be91cc
...
...
@@ -10,11 +10,11 @@
<select
id=
"query"
parameterType=
"io.dataease.base.mapper.ext.query.GridExample"
resultMap=
"BaseResultMapDTO"
>
select id , name , `desc` ,`type` , configuration ,create_time ,update_time,
get_auths(id,'link',#{extendCondition}) as `privileges`
from datasource
from
(select GET_V_AUTH_MODEL_ID_P_USE (#{extendCondition}, 'link') cids) t,
datasource
<if
test=
"_parameter != null"
>
<include
refid=
"io.dataease.base.mapper.ext.query.GridSql.gridCondition"
/>
</if>
and FIND_IN_SET(datasource.id,
GET_V_AUTH_MODEL_ID_P_USE(#{extendCondition},'link')
)
and FIND_IN_SET(datasource.id,
cids
)
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
...
...
@@ -25,9 +25,9 @@
<select
id=
"queryUnion"
resultMap=
"BaseResultMapDTO"
>
select id , name , `desc` ,`type` , configuration ,create_time ,update_time
from datasource
from
(select GET_V_AUTH_MODEL_ID_P_USE (#{userId}, 'link') cids) t,
datasource
<where>
FIND_IN_SET(datasource.id,
GET_V_AUTH_MODEL_ID_P_USE(#{userId},'link'
))
FIND_IN_SET(datasource.id,
cids
))
<if
test=
"id != null"
>
id = #{id,jdbcType=VARCHAR}
</if>
...
...
backend/src/main/java/io/dataease/base/mapper/ext/ExtPanelGroupMapper.xml
浏览文件 @
50be91cc
...
...
@@ -24,7 +24,7 @@
panel_type,
`name` AS label,
authInfo.`privileges`
from panel_group
from
(select GET_V_AUTH_MODEL_ID_P_USE (#{userId}, 'panel') cids) t,
panel_group
left join
(SELECT
`sys_auth`.`auth_source` AS `auth_source`,
...
...
@@ -56,7 +56,7 @@
`sys_auth`.`auth_source_type`) authInfo
on panel_group.id = authInfo.auth_source and authInfo.auth_source_type='panel'
<where>
FIND_IN_SET(panel_group.id,
GET_V_AUTH_MODEL_ID_P_USE(#{userId},'panel')
)
FIND_IN_SET(panel_group.id,
cids
)
<if
test=
"name != null"
>
and panel_group.name like CONCAT('%', #{name},'%')
</if>
...
...
frontend/src/lang/en.js
浏览文件 @
50be91cc
...
...
@@ -87,6 +87,7 @@ export default {
password_error
:
'The password can not be less than 6 digits'
},
commons
:
{
close
:
'Close'
,
icon
:
'Icon'
,
all
:
'All'
,
enable
:
'Enable'
,
...
...
@@ -872,7 +873,7 @@ export default {
clean_canvas
:
'Clean Canvas'
,
insert_picture
:
'Insert Picture'
,
redo
:
'Redo'
,
undo
:
'U
Toolbar.vue
ndo'
,
undo
:
'Undo'
,
panel_null
:
'This is a Empty Panel,You Can Edit and Enrich It'
},
plugin
:
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论