Commit 3d09c3b3 by wenyang Committed by jianan

赢家平台被分享的文章没显示真实的头像与二维码

parent 3d25855f
...@@ -74,13 +74,10 @@ ...@@ -74,13 +74,10 @@
uh.file_path headImagePath, uh.file_path headImagePath,
uw.file_path qrCodePath uw.file_path qrCodePath
FROM ag_acl_customer_object_share os FROM ag_acl_customer_object_share os
LEFT JOIN ag_acl_practitioner p LEFT JOIN ag_acl_practitioner p ON p.id = os.practitioner_id
LEFT JOIN ag_acl_insurer_branch b ON b.id = p.insurer_branch_id LEFT JOIN ag_acl_insurer_branch b ON b.id = p.insurer_branch_id
LEFT JOIN ag_acl_file_upload uh LEFT JOIN ag_acl_file_upload uh ON uh.target_type = 1 AND uh.target_id = p.id AND uh.is_active = 1 AND uh.target_use_for = 1
ON uh.target_type = 1 AND uh.target_id = p.id AND uh.is_active = 1 AND uh.file_type = 1 LEFT JOIN ag_acl_file_upload uw ON uw.target_type = 1 AND uw.target_id = p.id AND uw.is_active = 1 AND uw.target_use_for = 9
LEFT JOIN ag_acl_file_upload uw
ON uh.target_type = 1 AND uh.target_id = p.id AND uh.is_active = 1 AND uh.file_type = 9
ON p.id = os.practitioner_id
WHERE os.share_code = #{shareCode,jdbcType=VARCHAR} WHERE os.share_code = #{shareCode,jdbcType=VARCHAR}
</select> </select>
</mapper> </mapper>
\ No newline at end of file
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