瀏覽代碼

Merge remote-tracking branch 'origin/master'

zangbin 3 年之前
父節點
當前提交
fdcd7eadf1

+ 1 - 1
lb-module/src/main/resources/mapper/module/shopMapper.xml

@@ -311,7 +311,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         where deleted = 0 and status = 1
         and merchant_id = #{params.merchantId}
         <if test="params.memberType == 3 and params.shopId != null">
-            and id = #{shopId}
+            and id = #{params.shopId}
         </if>
     </select>
 

+ 1 - 0
lb-module/src/main/resources/mapper/module/shopWaimaiMapper.xml

@@ -60,6 +60,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         s.id as shopId,
         s.merchant_id as merchantId,
         w.id,
+        w.business_id businessId,
         w.bind_status as bindStatus
         FROM
         lb_shop_waimai w