| | |
| | | <result property="tilesName" column="tiles_name" /> |
| | | <result property="tilesHeight" column="tiles_height" /> |
| | | <result property="tileAddress" column="tile_address" /> |
| | | <result property="screenSpaceError" column="screen_space_error" /> |
| | | <result property="maximumMemoryUsage" column="maximum_memory_usage" /> |
| | | <result property="automaticSuperCleaningModel" column="automatic_super_cleaning_model" /> |
| | | <result property="loadingSpeed" column="loading_speed" /> |
| | | <result property="userId" column="user_id" /> |
| | | <result property="deptId" column="dept_id" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectArdTileManagementVo"> |
| | | select id, |
| | | tiles_name, |
| | | tiles_height, |
| | | tile_address |
| | | tile_address, |
| | | screen_space_error, |
| | | maximum_memory_usage, |
| | | automatic_super_cleaning_model, |
| | | loading_speed, |
| | | user_id, |
| | | dept_id |
| | | from ard_tile_management |
| | | </sql> |
| | | |
| | |
| | | <if test="tilesName != null">tiles_name,</if> |
| | | <if test="tilesHeight != null">tiles_height,</if> |
| | | <if test="tileAddress != null">tile_address,</if> |
| | | <if test="screenSpaceError != null">screen_space_error,</if> |
| | | <if test="maximumMemoryUsage != null">maximum_memory_usage,</if> |
| | | <if test="automaticSuperCleaningModel != null">automatic_super_cleaning_model,</if> |
| | | <if test="loadingSpeed != null">loading_speed,</if> |
| | | <if test="userId != null">user_id,</if> |
| | | <if test="deptId != null">dept_id,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">#{id},</if> |
| | | <if test="tilesName != null">#{tilesName},</if> |
| | | <if test="tilesHeight != null">#{tilesHeight},</if> |
| | | <if test="tileAddress != null">#{tileAddress},</if> |
| | | <if test="screenSpaceError != null">#{screenSpaceError},</if> |
| | | <if test="maximumMemoryUsage != null">#{maximumMemoryUsage},</if> |
| | | <if test="automaticSuperCleaningModel != null">#{automaticSuperCleaningModel},</if> |
| | | <if test="loadingSpeed != null">#{loadingSpeed},</if> |
| | | <if test="userId != null">#{userId},</if> |
| | | <if test="deptId != null">#{deptId},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="tilesName != null">tiles_name = #{tilesName},</if> |
| | | <if test="tilesHeight != null">tiles_height = #{tilesHeight},</if> |
| | | <if test="tileAddress != null">tile_address = #{tileAddress},</if> |
| | | <if test="screenSpaceError != null">screen_space_error = #{screenSpaceError},</if> |
| | | <if test="maximumMemoryUsage != null">maximum_memory_usage = #{maximumMemoryUsage},</if> |
| | | <if test="automaticSuperCleaningModel != null">automatic_super_cleaning_model = #{automaticSuperCleaningModel},</if> |
| | | <if test="loadingSpeed != null">loading_speed = #{loadingSpeed},</if> |
| | | <if test="userId != null">user_id = #{userId},</if> |
| | | <if test="deptId != null">dept_id = #{deptId},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |