Commit 412ece7c by 朱亚洁

bug:[1025632]取第三方链接的来源

parent 3885e00d
......@@ -88,7 +88,7 @@
from applet_third_resources where id=#{id}
</select>
<select id="getThirdResourcesByNewsId" parameterType="Long" resultType="com.pcloud.book.applet.dto.AppletThirdResourcesDTO">
<select id="getThirdResourcesByNewsId" parameterType="Long" resultType="com.pcloud.book.applet.entity.AppletThirdResources">
SELECT
relation.from_id fromId,
third.id,
......@@ -100,7 +100,8 @@
third.resource_url url,
bm.material_url materialUrl,
third.route_code routeCode,
third.guide
third.guide,
third.resource_source source
FROM
applet_third_resources_relation relation
LEFT JOIN applet_third_resources third ON relation.third_resources_id = third.id
......
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