商品搜索

附近一千米
This commit is contained in:
2024-05-30 10:50:24 +08:00
parent a5c416e3e6
commit 58ed73e6e0
4 changed files with 14 additions and 4 deletions

View File

@@ -961,6 +961,9 @@
info.`status`='1'
AND pro.is_combo = '1'
AND info.cities = #{cities}
<if test="proName != null and proName != ''">
AND pro.`name` LIKE concat('%',#{proName,jdbcType=VARCHAR},'%')
</if>
<if test="type != null and type != ''">
AND group_category_id LIKE concat('%',#{type,jdbcType=VARCHAR},'%')
</if>
@@ -1005,6 +1008,9 @@
<where>
info.`status`='1'
AND info.cities = #{cities}
<if test="proName != null and proName != ''">
AND pro.`name` LIKE concat('%',#{proName,jdbcType=VARCHAR},'%')
</if>
<if test="type != null and type != ''">
AND pro.group_category_id LIKE concat('%',#{type,jdbcType=VARCHAR},'%')
</if>