Unverified 提交 8545bd83 authored 作者: Gin's avatar Gin 提交者: GitHub

Merge pull request #1593 from dataease/pr@v1.6@fix_ds

fix: 数据集权限树
...@@ -81,7 +81,12 @@ ...@@ -81,7 +81,12 @@
and v_auth_model.`level` = #{record.level,jdbcType=BIGINT} and v_auth_model.`level` = #{record.level,jdbcType=BIGINT}
</if> </if>
<if test="record.mode != null"> <if test="record.mode != null">
and v_auth_model.`mode` = #{record.mode,jdbcType=BIGINT} <if test="record.mode == 0">
and v_auth_model.`mode` = 0
</if>
<if test='record.mode == 1 and record.modelType != null and record.modelType == "dataset"'>
and (v_auth_model.`mode` = 1 or (v_auth_model.`model_inner_type` = 'group' and v_auth_model.model_type = 'dataset'))
</if>
</if> </if>
<if test="record.dataSourceId != null"> <if test="record.dataSourceId != null">
and v_auth_model.data_source_id = #{record.dataSourceId,jdbcType=VARCHAR} and v_auth_model.data_source_id = #{record.dataSourceId,jdbcType=VARCHAR}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论