| | |
| | | and jp.is_deleted = 0 |
| | | and jp.source !=3 |
| | | </select> |
| | | |
| | | <!--根据标签编号集合查询对应的场所--> |
| | | <select id="getPlaceListByParam" resultType="org.springblade.modules.place.vo.PlaceVO"> |
| | | select jp.* from jczz_place jp |
| | | left join jczz_place_poi_label jppl on jppl.place_id = jp.id |
| | | where jp.is_deleted = 0 and jppl.type = 3 |
| | | and jppl.color = #{color} |
| | | <choose> |
| | | <when test="list!=null and list.size()>0"> |
| | | and jppl.poi_code in |
| | | <foreach collection="list" item="id" separator="," open="(" close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </when> |
| | | <otherwise> |
| | | and jppl.poi_code in ('') |
| | | </otherwise> |
| | | </choose> |
| | | </select> |
| | | </mapper> |