linwei
2024-01-31 b3b566ebdfed4005aaa513da3d5d2fd3924903cc
src/main/java/org/springblade/modules/place/mapper/PlaceCheckMapper.xml
@@ -20,8 +20,8 @@
        <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>
@@ -32,16 +32,21 @@
    </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>
@@ -66,6 +71,7 @@
    <select id="selectPlaceCheckPage" resultMap="placeCheckResultMap">
        SELECT
        jpc.*,
        jp.id jpid,
        jp.place_name,
        jp.location,
        jg.grid_name,
@@ -138,6 +144,7 @@
    <select id="selectPlaceCheckById" parameterType="long" resultMap="placeCheckResultMap">
        SELECT
        jpc.*,
        jp.id jpid,
        jp.place_name,
        jp.location,
        jg.grid_name,