Просмотр исходного кода

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

release_toaliyun_real
hupeng 7 лет назад
Родитель
Сommit
b5f31c2426
1 измененных файлов: 2 добавлений и 1 удалений
  1. +2
    -1
      mallinkService/src/main/resources/mapper/WxLevelMerchantMapper.xml

+ 2
- 1
mallinkService/src/main/resources/mapper/WxLevelMerchantMapper.xml Просмотреть файл

@@ -86,11 +86,12 @@
<select id="findListCVo" parameterType="com.iformall.domain.po.WxLevelMerchant" resultMap="CVoResultMap"> <select id="findListCVo" parameterType="com.iformall.domain.po.WxLevelMerchant" resultMap="CVoResultMap">
select <include refid="allCVoColumns" /> select <include refid="allCVoColumns" />
from wx_level_merchant lm 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_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_shop s on ms.shop_id = s.id
left join wx_mall_building mb on s.building = mb.id left join wx_mall_building mb on s.building = mb.id
left join wx_mall_floor mf on s.floor = mf.id left join wx_mall_floor mf on s.floor = mf.id
where 1=1
<if test=" null != levelId "> <if test=" null != levelId ">
and `level_id` = #{levelId} and `level_id` = #{levelId}
</if> </if>


Загрузка…
Отмена
Сохранить