|
|
@@ -29,7 +29,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<select id="selectFsStoreRecommendScrmList" resultType="com.fs.hisStore.vo.FsStoreRecommendScrmVo">
|
|
|
SELECT
|
|
|
srs.*,
|
|
|
- ss.logo_url
|
|
|
+ ss.logo_url,
|
|
|
+ ss.merchant_id merchantId,
|
|
|
+ ss.store_seq storeSeq
|
|
|
FROM
|
|
|
fs_store_recommend_scrm srs
|
|
|
LEFT JOIN fs_store_scrm ss ON srs.store_id = ss.store_id
|
|
|
@@ -42,6 +44,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="recommendType != null and recommendType != ''"> and srs.recommend_type = #{recommendType}</if>
|
|
|
<if test="status != null "> and srs.status = #{status}</if>
|
|
|
<if test="weight != null "> and srs.weight = #{weight}</if>
|
|
|
+ <if test="storeSeq != null and storeSeq != ''"> and ss.store_seq like concat('%', #{storeSeq}, '%')</if>
|
|
|
</where>
|
|
|
ORDER BY
|
|
|
srs.sort_order ASC,
|