|
|
|
|
@ -23,10 +23,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<result property="wTiltPos" column="wTiltPos" />
|
|
|
|
|
<result property="wZoomPos" column="wZoomPos" />
|
|
|
|
|
<result property="isRotate" column="is_rotate" />
|
|
|
|
|
<result property="isInsp" column="is_insp" />
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<sql id="selectBaseBusbarInfoVo">
|
|
|
|
|
select obj_id, busbar_code, busbar_alias, cabinet_code, busbar_dist, is_checked, is_end, is_flag, remark, created_by, created_time, updated_by, updated_time, is_pictures, wPanPos, wTiltPos, wZoomPos, is_rotate from base_busbar_info
|
|
|
|
|
select obj_id, busbar_code, busbar_alias, cabinet_code, busbar_dist, is_checked, is_end, is_flag, remark, created_by, created_time, updated_by, updated_time, is_pictures, wPanPos, wTiltPos, wZoomPos, is_rotate , is_insp
|
|
|
|
|
from base_busbar_info
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<select id="selectBaseBusbarInfoList" parameterType="BaseBusbarInfo" resultMap="BaseBusbarInfoResult">
|
|
|
|
|
@ -50,6 +52,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="wTiltPos != null and wTiltPos != ''"> and wTiltPos = #{wTiltPos}</if>
|
|
|
|
|
<if test="wZoomPos != null and wZoomPos != ''"> and wZoomPos = #{wZoomPos}</if>
|
|
|
|
|
<if test="isRotate != null "> and is_rotate = #{isRotate}</if>
|
|
|
|
|
<if test="isInsp != null "> and is_insp = #{isInsp}</if>
|
|
|
|
|
</where>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
@ -78,6 +81,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="wTiltPos != null">wTiltPos,</if>
|
|
|
|
|
<if test="wZoomPos != null">wZoomPos,</if>
|
|
|
|
|
<if test="isRotate != null">is_rotate,</if>
|
|
|
|
|
<if test="isInsp != null">is_insp,</if>
|
|
|
|
|
</trim>
|
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
<if test="busbarCode != null">#{busbarCode},</if>
|
|
|
|
|
@ -97,6 +101,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="wTiltPos != null">#{wTiltPos},</if>
|
|
|
|
|
<if test="wZoomPos != null">#{wZoomPos},</if>
|
|
|
|
|
<if test="isRotate != null">#{isRotate},</if>
|
|
|
|
|
<if test="isInsp != null">#{isInsp},</if>
|
|
|
|
|
</trim>
|
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
|
@ -120,6 +125,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="wTiltPos != null">wTiltPos = #{wTiltPos},</if>
|
|
|
|
|
<if test="wZoomPos != null">wZoomPos = #{wZoomPos},</if>
|
|
|
|
|
<if test="isRotate != null">is_rotate = #{isRotate},</if>
|
|
|
|
|
<if test="isInsp != null">is_insp = #{isInsp},</if>
|
|
|
|
|
</trim>
|
|
|
|
|
where obj_id = #{objId}
|
|
|
|
|
</update>
|
|
|
|
|
|