提交 77a52d17 作者: obcy

【fix事件专题左侧树】

上级 ff891239
......@@ -241,10 +241,13 @@
</select>
<select id="allList" resultType="com.zzsn.event.entity.SubjectType">
select t.* from subject_type t
select t.* from subject_type t where 1=1
<if test="userId !=null and userId != ''">
inner join sys_user_data_permission dp on t.id=dp.permission_id and dp.user_id = #{userId}
</if>
where and t.category = #{category}
<if test="category !=null">
and t.category = #{category}
</if>
</select>
</mapper>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论