Commit 3034a073 by Administrator

Merge branch 'fixbug/1025632' into 'master'

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

See merge request rays/pcloud-book!972
parents 3885e00d 412ece7c
......@@ -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