ard-system/src/main/resources/mapper/system/ArdMapManagementMapper.xml
@@ -10,6 +10,8 @@
        <result property="mapType"    column="map_type"    />
        <result property="fileName"    column="file_name"    />
        <result property="releaseStatus"    column="release_status"    />
        <result property="defaultLoading"    column="default_loading"    />
        <result property="mapPath"    column="map_path"    />
    </resultMap>
    <sql id="selectArdMapManagementVo">
@@ -17,7 +19,9 @@
               map_name,
               map_type,
               file_name,
               release_status
               release_status,
               default_loading,
               map_path
        from ard_map_management
    </sql>
@@ -44,6 +48,8 @@
            <if test="mapType != null">map_type,</if>
            <if test="fileName != null">file_name,</if>
            <if test="releaseStatus != null">release_status,</if>
            <if test="defaultLoading != null">default_loading,</if>
            <if test="mapPath != null">map_path,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="id != null">#{id},</if>
@@ -51,6 +57,8 @@
            <if test="mapType != null">#{mapType},</if>
            <if test="fileName != null">#{fileName},</if>
            <if test="releaseStatus != null">#{releaseStatus},</if>
            <if test="defaultLoading != null">#{defaultLoading},</if>
            <if test="mapPath != null">#{mapPath},</if>
         </trim>
    </insert>
@@ -61,6 +69,8 @@
            <if test="mapType != null">map_type = #{mapType},</if>
            <if test="fileName != null">file_name = #{fileName},</if>
            <if test="releaseStatus != null">release_status = #{releaseStatus},</if>
            <if test="defaultLoading != null">default_loading = #{defaultLoading},</if>
            <if test="mapPath != null">map_path = #{mapPath},</if>
        </trim>
        where id = #{id}
    </update>