sql修复2

This commit is contained in:
陈伏伽
2023-10-19 18:52:58 +08:00
parent e6c1e1989f
commit ad46e015ea

View File

@@ -569,7 +569,7 @@
and hoai.area_path like concat('%/',#{intentAreaName},'/%') and hoai.area_path like concat('%/',#{intentAreaName},'/%')
</if> </if>
<if test="intentAreaName!=null and intentAreaName!='' and intentAreaQueryType!=null and intentAreaQueryType == 'notContains'"> <if test="intentAreaName!=null and intentAreaName!='' and intentAreaQueryType!=null and intentAreaQueryType == 'notContains'">
and hoai.area_path like concat('%/',#{intentAreaName},'/%') and hoai.area_path not like concat('%/',#{intentAreaName},'/%')
</if> </if>
<if test="intentAreaQueryType !=null and intentAreaQueryType == 'blank'"> <if test="intentAreaQueryType !=null and intentAreaQueryType == 'blank'">
AND hpuinfo.want_shop_area is null AND hpuinfo.want_shop_area is null