feat:askbot 门店获取方式变更
This commit is contained in:
@@ -441,7 +441,8 @@
|
||||
<select id="getShopListSuccessOpen" resultType="com.cool.store.response.MiniShopsResponse">
|
||||
select a.shop_name as shopName,
|
||||
a.id as shopId,
|
||||
a.shop_code as shopCode
|
||||
a.shop_code as shopCode,
|
||||
a.detail_address as detailAddress
|
||||
from xfsg_shop_info a
|
||||
inner join store_${eid} c on a.shop_code = c.store_num
|
||||
where a.line_id = #{lineId}
|
||||
|
||||
@@ -79,4 +79,14 @@
|
||||
where store_num = #{storeNum}
|
||||
</select>
|
||||
|
||||
<select id="listByMobile" resultMap="BaseResultMap">
|
||||
select *
|
||||
from store_${enterpriseId}
|
||||
<where>
|
||||
<if test="mobile!=null and mobile !=''">
|
||||
and `extend_field` like concat('%', #{mobile}, '%')
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user