diff --git a/mallinkService/src/main/resources/mapper/WxShopMapper.xml b/mallinkService/src/main/resources/mapper/WxShopMapper.xml index 59f7e3ac1..9829de121 100644 --- a/mallinkService/src/main/resources/mapper/WxShopMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxShopMapper.xml @@ -158,7 +158,8 @@ m.link_person linkPerson,m.link_phone linkPhone,s.manager,s.manager_phone managerPhone, s.type,s.point_type pointType,s.addr,DATEDIFF(now(),s.create_date) freeDay,rent,rent_unit,s.business_id as businessId,s.create_date create_date - from wx_shop s left join wx_merchant_shop ms on ms.shop_id=s.id and ms.is_del=0 + from wx_shop s + left join wx_merchant_shop ms on ms.shop_id=s.id and ms.is_del=0 left join wx_merchant m on ms.merchant_id=m.id left join wx_mall_building b on s.building=b.id left join wx_mall_floor f on s.floor=f.id @@ -186,52 +187,42 @@ and s.`shop_number` like concat('%', #{shopNumber},'%') - and s.`build_area` like concat('%', #{buildArea},'%') - and s.`operation_area` like concat('%', #{operationArea},'%') - and s.`x` = #{x} - and s.`y` = #{y} - and s.`addr` like concat('%', #{addr},'%') - and s.`baidu_poi` like concat('%', #{baiduPoi},'%') - and s.`longitude` = #{longitude} - and s.`latitude` = #{latitude} - and s.`create_date` = #{createDate} - @@ -260,8 +251,8 @@