提交 8eac6ad5 作者: 沈振路

根据appId和type查询公众号获客链接列表的方法

上级 83901d73
......@@ -80,4 +80,13 @@ public interface MaterialCommonMapper {
*/
List<String> getAcquisitionLinkList(@Param("targetAuthId") Long targetAuthId, @Param("type") String type);
/**
* 获取指定公众号的指定获客链接列表
*
* @param appId 账号
* @param type 类型
* @return 获客链接列表
*/
List<String> getAcquisitionLinkListByAppIdAndType(@Param("appId") String appId, @Param("type") String type);
}
......@@ -89,4 +89,10 @@
limit 1
</select>
<select id="getAcquisitionLinkListByAppIdAndType" resultType="java.lang.String">
select distinct link_url from company_acquisition_link where is_deleted = 0 and `status` = 1 and auth_app_id = #{appId} and type = #{type}
</select>
</mapper>
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论