| | |
| | | <result property="loadingSpeed" column="loading_speed" /> |
| | | <result property="userId" column="user_id" /> |
| | | <result property="deptId" column="dept_id" /> |
| | | <result property="defaultLoading" column="default_loading" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectArdTileManagementVo"> |
| | |
| | | automatic_super_cleaning_model, |
| | | loading_speed, |
| | | user_id, |
| | | dept_id |
| | | dept_id, |
| | | default_loading |
| | | from ard_tile_management |
| | | </sql> |
| | | |
| | |
| | | <if test="loadingSpeed != null">loading_speed,</if> |
| | | <if test="userId != null">user_id,</if> |
| | | <if test="deptId != null">dept_id,</if> |
| | | <if test="defaultLoading != null">default_loading,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">#{id},</if> |
| | |
| | | <if test="loadingSpeed != null">#{loadingSpeed},</if> |
| | | <if test="userId != null">#{userId},</if> |
| | | <if test="deptId != null">#{deptId},</if> |
| | | <if test="defaultLoading != null">#{defaultLoading},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="loadingSpeed != null">loading_speed = #{loadingSpeed},</if> |
| | | <if test="userId != null">user_id = #{userId},</if> |
| | | <if test="deptId != null">dept_id = #{deptId},</if> |
| | | <if test="defaultLoading != null">default_loading = #{defaultLoading},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |