提交 edccc79f 作者: yanxin

自定义专题权限逻辑修改

上级 9ede6a63
...@@ -220,7 +220,7 @@ ...@@ -220,7 +220,7 @@
LEFT JOIN subject_type c ON b.type_id = c.id LEFT JOIN subject_type c ON b.type_id = c.id
LEFT JOIN subject_statistic_info s on s.subject_id = d.id LEFT JOIN subject_statistic_info s on s.subject_id = d.id
where where
((d.face_public = 1 and d.create_by = #{username}) or (d.face_public = 1 and ${sql})) (d.create_by = #{username} or (d.face_public = 1 and ${sql}))
<if test="subjectCondition.environment !=null and subjectCondition.environment !=''"> <if test="subjectCondition.environment !=null and subjectCondition.environment !=''">
and d.environment =#{subjectCondition.environment} and d.environment =#{subjectCondition.environment}
</if> </if>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论