|
|
|
@@ -235,7 +235,7 @@ |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="findBusByFloorId" resultType="hashmap" parameterType="hashmap"> |
|
|
|
select count(m.business_id) count,b.id bid,b.`title` btitle from wx_merchant m left join wx_merchant_shop ms on(m.id = ms.merchant_id) |
|
|
|
select count(distinct m.id) count,b.id bid,b.`title` btitle from wx_merchant m left join wx_merchant_shop ms on(m.id = ms.merchant_id) |
|
|
|
left join wx_shop s on(ms.shop_id = s.id) |
|
|
|
left join wx_mall_floor f on(s.floor = f.id) |
|
|
|
left join wx_business b on(m.business_id = b.id) |
|
|
|
|