Browse Source

[需求][1000115]:修复C端商户列表问题

release_toaliyun_real
hupeng 7 years ago
parent
commit
b5f31c2426
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      mallinkService/src/main/resources/mapper/WxLevelMerchantMapper.xml

+ 2
- 1
mallinkService/src/main/resources/mapper/WxLevelMerchantMapper.xml View File

@@ -86,11 +86,12 @@
<select id="findListCVo" parameterType="com.iformall.domain.po.WxLevelMerchant" resultMap="CVoResultMap">
select <include refid="allCVoColumns" />
from wx_level_merchant lm
inner join wx_merchant m on m.status = 1
inner join wx_merchant m on m.status = 1 and lm.merchant_id = m.id
left join wx_merchant_shop ms on ms.merchant_id = m.id and ms.is_del = 0
left join wx_shop s on ms.shop_id = s.id
left join wx_mall_building mb on s.building = mb.id
left join wx_mall_floor mf on s.floor = mf.id
where 1=1
<if test=" null != levelId ">
and `level_id` = #{levelId}
</if>


Loading…
Cancel
Save