Commit aebfc05f by zhiwj

修改链接bug

parent f3ea8aaf
......@@ -258,6 +258,7 @@
and t1.parent_id = #{parentId}
and (t1.enterprise_type = 1 or (t1.enterprise_type = 2 and t2.enterprise_id = #{enterpriseId} ))
and t1.status = 1
and t2.status = 1
</select>
<select id="treeByGic" resultMap="BaseResultMap">
select
......@@ -266,6 +267,7 @@
from tab_link t1 left join tab_link_scene t2 on t1.link_id = t2.link_id
where (t1.enterprise_type = 1 or (t1.enterprise_type = 2 and t2.enterprise_id = #{enterpriseId} ))
and t1.status = 1
and t2.status = 1
<if test="objectType != null ">
<if test="objectType == 1">
and h5_content is not null
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment