| | |
| | | <result property="latitude" column="latitude" /> |
| | | <result property="height" column="height" /> |
| | | <result property="proportion" column="proportion" /> |
| | | <result property="modelUrl" column="model_url" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectArdModelManagementVo"> |
| | |
| | | longitude, |
| | | latitude, |
| | | height, |
| | | proportion |
| | | proportion, |
| | | model_url |
| | | from ard_model_management |
| | | </sql> |
| | | |
| | |
| | | <if test="latitude != null "> and latitude = #{latitude}</if> |
| | | <if test="height != null "> and height = #{height}</if> |
| | | <if test="proportion != null "> and proportion = #{proportion}</if> |
| | | <if test="modelUrl != null "> and model_url = #{modelUrl}</if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | <if test="latitude != null">latitude,</if> |
| | | <if test="height != null">height,</if> |
| | | <if test="proportion != null">proportion,</if> |
| | | <if test="modelUrl != null">model_url,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">#{id},</if> |
| | |
| | | <if test="latitude != null">#{latitude},</if> |
| | | <if test="height != null">#{height},</if> |
| | | <if test="proportion != null">#{proportion},</if> |
| | | <if test="modelUrl != null">#{modelUrl},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="latitude != null">latitude = #{latitude},</if> |
| | | <if test="height != null">height = #{height},</if> |
| | | <if test="proportion != null">proportion = #{proportion},</if> |
| | | <if test="modelUrl != null">model_url = #{modelUrl},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |