| | |
| | | <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"> |
| | |
| | | map_name, |
| | | map_type, |
| | | file_name, |
| | | release_status |
| | | release_status, |
| | | default_loading, |
| | | map_path |
| | | from ard_map_management |
| | | </sql> |
| | | |
| | |
| | | <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> |
| | |
| | | <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> |
| | | |
| | |
| | | <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> |