|
|
|
@@ -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> |
|
|
|
|