| | |
| | | <result column="town_name" property="streetName"/> |
| | | <result column="village_name" property="communityName"/> |
| | | |
| | | <collection property="placePoiLabelVOList" column="id" javaType="java.util.List" select="selectPlacePoiLabelList" |
| | | ofType="org.springblade.modules.place.entity.PlacePoiLabel" |
| | | <collection property="placePoiLabelVOList" column="jpid" javaType="java.util.List" select="selectPlacePoiLabelList" |
| | | ofType="org.springblade.modules.place.vo.PlacePoiLabelVO" |
| | | autoMapping="true"> |
| | | </collection> |
| | | |
| | |
| | | </resultMap> |
| | | |
| | | <select id="selectPlacePoiLabelList" parameterType="Long" |
| | | resultType="org.springblade.modules.place.entity.PlacePoiLabel"> |
| | | select |
| | | id, |
| | | place_id, |
| | | poi_code, |
| | | type, |
| | | color, |
| | | remark |
| | | from |
| | | jczz_place_poi_label where place_id = #{id} |
| | | resultType="org.springblade.modules.place.vo.PlacePoiLabelVO"> |
| | | SELECT |
| | | jppl.id, |
| | | jppl.place_id, |
| | | jppl.poi_code, |
| | | jppl.type, |
| | | jppl.color, |
| | | jppl.remark, |
| | | jc.category_name labelName |
| | | FROM |
| | | jczz_place_poi_label jppl |
| | | LEFT JOIN jczz_category jc ON jppl.poi_code = jc.category_no |
| | | WHERE |
| | | jppl.type = '3' |
| | | and place_id = #{jpid} |
| | | </select> |
| | | |
| | | |
| | |
| | | <select id="selectPlaceCheckPage" resultMap="placeCheckResultMap"> |
| | | SELECT |
| | | jpc.*, |
| | | jp.id jpid, |
| | | jp.place_name, |
| | | jp.location, |
| | | jg.grid_name, |
| | |
| | | <select id="selectPlaceCheckById" parameterType="long" resultMap="placeCheckResultMap"> |
| | | SELECT |
| | | jpc.*, |
| | | jp.id jpid, |
| | | jp.place_name, |
| | | jp.location, |
| | | jg.grid_name, |