|
|
@ -27,6 +27,7 @@ |
|
|
<result column="site_manager" jdbcType="VARCHAR" property="siteManager" /> |
|
|
<result column="site_manager" jdbcType="VARCHAR" property="siteManager" /> |
|
|
<result column="king_contract_no" jdbcType="VARCHAR" property="kingContractNo" /> |
|
|
<result column="king_contract_no" jdbcType="VARCHAR" property="kingContractNo" /> |
|
|
<result column="kvm_url" jdbcType="VARCHAR" property="kvmUrl" /> |
|
|
<result column="kvm_url" jdbcType="VARCHAR" property="kvmUrl" /> |
|
|
|
|
|
<result column="camera_enabled" jdbcType="INTEGER" property="cameraEnabled" /> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.techsor.datacenter.business.model.BasicBuilding"> |
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.techsor.datacenter.business.model.BasicBuilding"> |
|
|
<!-- |
|
|
<!-- |
|
|
@ -110,7 +111,8 @@ |
|
|
--> |
|
|
--> |
|
|
building_id, company_id, `name`, address, flag, create_time, creator_id, modify_time, |
|
|
building_id, company_id, `name`, address, flag, create_time, creator_id, modify_time, |
|
|
modifier_id, udf_building_id, building_bucket, thumbnail_num, show_switch_2d3d, brief_introduction, |
|
|
modifier_id, udf_building_id, building_bucket, thumbnail_num, show_switch_2d3d, brief_introduction, |
|
|
latitude, longitude, retain_alert, salesforce_primary_id, site_manager, king_contract_no, kvm_url |
|
|
latitude, longitude, retain_alert, salesforce_primary_id, site_manager, king_contract_no, |
|
|
|
|
|
kvm_url, camera_enabled |
|
|
</sql> |
|
|
</sql> |
|
|
<sql id="Blob_Column_List"> |
|
|
<sql id="Blob_Column_List"> |
|
|
<!-- |
|
|
<!-- |
|
|
@ -203,7 +205,8 @@ |
|
|
building_bucket, thumbnail_num, show_switch_2d3d, |
|
|
building_bucket, thumbnail_num, show_switch_2d3d, |
|
|
brief_introduction, latitude, longitude, |
|
|
brief_introduction, latitude, longitude, |
|
|
retain_alert, salesforce_primary_id, site_manager, |
|
|
retain_alert, salesforce_primary_id, site_manager, |
|
|
king_contract_no, kvm_url, floor_info_list, picture_introduction, |
|
|
king_contract_no, kvm_url, camera_enabled, |
|
|
|
|
|
floor_info_list, picture_introduction, |
|
|
special_notes) |
|
|
special_notes) |
|
|
values (#{companyId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, |
|
|
values (#{companyId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, |
|
|
#{flag,jdbcType=INTEGER}, #{createTime,jdbcType=BIGINT}, #{creatorId,jdbcType=BIGINT}, |
|
|
#{flag,jdbcType=INTEGER}, #{createTime,jdbcType=BIGINT}, #{creatorId,jdbcType=BIGINT}, |
|
|
@ -211,7 +214,8 @@ |
|
|
#{buildingBucket,jdbcType=VARCHAR}, #{thumbnailNum,jdbcType=INTEGER}, #{showSwitch2d3d,jdbcType=INTEGER}, |
|
|
#{buildingBucket,jdbcType=VARCHAR}, #{thumbnailNum,jdbcType=INTEGER}, #{showSwitch2d3d,jdbcType=INTEGER}, |
|
|
#{briefIntroduction,jdbcType=VARCHAR}, #{latitude,jdbcType=VARCHAR}, #{longitude,jdbcType=VARCHAR}, |
|
|
#{briefIntroduction,jdbcType=VARCHAR}, #{latitude,jdbcType=VARCHAR}, #{longitude,jdbcType=VARCHAR}, |
|
|
#{retainAlert,jdbcType=INTEGER}, #{salesforcePrimaryId,jdbcType=BIGINT}, #{siteManager,jdbcType=VARCHAR}, |
|
|
#{retainAlert,jdbcType=INTEGER}, #{salesforcePrimaryId,jdbcType=BIGINT}, #{siteManager,jdbcType=VARCHAR}, |
|
|
#{kingContractNo,jdbcType=VARCHAR}, #{kvmUrl,jdbcType=VARCHAR}, #{floorInfoList,jdbcType=LONGVARCHAR}, #{pictureIntroduction,jdbcType=LONGVARCHAR}, |
|
|
#{kingContractNo,jdbcType=VARCHAR}, #{kvmUrl,jdbcType=VARCHAR}, #{cameraEnabled,jdbcType=INTEGER}, |
|
|
|
|
|
#{floorInfoList,jdbcType=LONGVARCHAR}, #{pictureIntroduction,jdbcType=LONGVARCHAR}, |
|
|
#{specialNotes,jdbcType=LONGVARCHAR}) |
|
|
#{specialNotes,jdbcType=LONGVARCHAR}) |
|
|
</insert> |
|
|
</insert> |
|
|
<insert id="insertSelective" parameterType="com.techsor.datacenter.business.model.BasicBuilding"> |
|
|
<insert id="insertSelective" parameterType="com.techsor.datacenter.business.model.BasicBuilding"> |
|
|
@ -284,6 +288,9 @@ |
|
|
<if test="kvmUrl != null"> |
|
|
<if test="kvmUrl != null"> |
|
|
kvm_url, |
|
|
kvm_url, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="cameraEnabled != null"> |
|
|
|
|
|
camera_enabled, |
|
|
|
|
|
</if> |
|
|
<if test="floorInfoList != null"> |
|
|
<if test="floorInfoList != null"> |
|
|
floor_info_list, |
|
|
floor_info_list, |
|
|
</if> |
|
|
</if> |
|
|
@ -355,6 +362,9 @@ |
|
|
<if test="kvmUrl != null"> |
|
|
<if test="kvmUrl != null"> |
|
|
#{kvmUrl,jdbcType=VARCHAR}, |
|
|
#{kvmUrl,jdbcType=VARCHAR}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="cameraEnabled != null"> |
|
|
|
|
|
#{cameraEnabled,jdbcType=INTEGER}, |
|
|
|
|
|
</if> |
|
|
<if test="floorInfoList != null"> |
|
|
<if test="floorInfoList != null"> |
|
|
#{floorInfoList,jdbcType=LONGVARCHAR}, |
|
|
#{floorInfoList,jdbcType=LONGVARCHAR}, |
|
|
</if> |
|
|
</if> |
|
|
@ -446,6 +456,9 @@ |
|
|
<if test="record.kvmUrl != null"> |
|
|
<if test="record.kvmUrl != null"> |
|
|
kvm_url = #{record.kvmUrl,jdbcType=VARCHAR}, |
|
|
kvm_url = #{record.kvmUrl,jdbcType=VARCHAR}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="record.cameraEnabled != null"> |
|
|
|
|
|
camera_enabled = #{record.cameraEnabled,jdbcType=INTEGER}, |
|
|
|
|
|
</if> |
|
|
<if test="record.floorInfoList != null"> |
|
|
<if test="record.floorInfoList != null"> |
|
|
floor_info_list = #{record.floorInfoList,jdbcType=LONGVARCHAR}, |
|
|
floor_info_list = #{record.floorInfoList,jdbcType=LONGVARCHAR}, |
|
|
</if> |
|
|
</if> |
|
|
@ -487,6 +500,7 @@ |
|
|
site_manager = #{record.siteManager,jdbcType=VARCHAR}, |
|
|
site_manager = #{record.siteManager,jdbcType=VARCHAR}, |
|
|
king_contract_no = #{record.kingContractNo,jdbcType=VARCHAR}, |
|
|
king_contract_no = #{record.kingContractNo,jdbcType=VARCHAR}, |
|
|
kvm_url = #{record.kvmUrl,jdbcType=VARCHAR}, |
|
|
kvm_url = #{record.kvmUrl,jdbcType=VARCHAR}, |
|
|
|
|
|
camera_enabled = #{record.cameraEnabled,jdbcType=INTEGER}, |
|
|
floor_info_list = #{record.floorInfoList,jdbcType=LONGVARCHAR}, |
|
|
floor_info_list = #{record.floorInfoList,jdbcType=LONGVARCHAR}, |
|
|
picture_introduction = #{record.pictureIntroduction,jdbcType=LONGVARCHAR}, |
|
|
picture_introduction = #{record.pictureIntroduction,jdbcType=LONGVARCHAR}, |
|
|
special_notes = #{record.specialNotes,jdbcType=LONGVARCHAR} |
|
|
special_notes = #{record.specialNotes,jdbcType=LONGVARCHAR} |
|
|
@ -520,7 +534,8 @@ |
|
|
salesforce_primary_id = #{record.salesforcePrimaryId,jdbcType=BIGINT}, |
|
|
salesforce_primary_id = #{record.salesforcePrimaryId,jdbcType=BIGINT}, |
|
|
site_manager = #{record.siteManager,jdbcType=VARCHAR}, |
|
|
site_manager = #{record.siteManager,jdbcType=VARCHAR}, |
|
|
king_contract_no = #{record.kingContractNo,jdbcType=VARCHAR}, |
|
|
king_contract_no = #{record.kingContractNo,jdbcType=VARCHAR}, |
|
|
kvm_url = #{record.kvmUrl,jdbcType=VARCHAR} |
|
|
kvm_url = #{record.kvmUrl,jdbcType=VARCHAR}, |
|
|
|
|
|
camera_enabled = #{record.cameraEnabled,jdbcType=INTEGER} |
|
|
<if test="_parameter != null"> |
|
|
<if test="_parameter != null"> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
</if> |
|
|
</if> |
|
|
@ -592,6 +607,9 @@ |
|
|
<if test="kvmUrl != null"> |
|
|
<if test="kvmUrl != null"> |
|
|
kvm_url = #{kvmUrl,jdbcType=VARCHAR}, |
|
|
kvm_url = #{kvmUrl,jdbcType=VARCHAR}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="cameraEnabled != null"> |
|
|
|
|
|
camera_enabled = #{cameraEnabled,jdbcType=INTEGER}, |
|
|
|
|
|
</if> |
|
|
<if test="floorInfoList != null"> |
|
|
<if test="floorInfoList != null"> |
|
|
floor_info_list = #{floorInfoList,jdbcType=LONGVARCHAR}, |
|
|
floor_info_list = #{floorInfoList,jdbcType=LONGVARCHAR}, |
|
|
</if> |
|
|
</if> |
|
|
@ -630,6 +648,7 @@ |
|
|
site_manager = #{siteManager,jdbcType=VARCHAR}, |
|
|
site_manager = #{siteManager,jdbcType=VARCHAR}, |
|
|
king_contract_no = #{kingContractNo,jdbcType=VARCHAR}, |
|
|
king_contract_no = #{kingContractNo,jdbcType=VARCHAR}, |
|
|
kvm_url = #{kvmUrl,jdbcType=VARCHAR}, |
|
|
kvm_url = #{kvmUrl,jdbcType=VARCHAR}, |
|
|
|
|
|
camera_enabled = #{cameraEnabled,jdbcType=INTEGER}, |
|
|
floor_info_list = #{floorInfoList,jdbcType=LONGVARCHAR}, |
|
|
floor_info_list = #{floorInfoList,jdbcType=LONGVARCHAR}, |
|
|
picture_introduction = #{pictureIntroduction,jdbcType=LONGVARCHAR}, |
|
|
picture_introduction = #{pictureIntroduction,jdbcType=LONGVARCHAR}, |
|
|
special_notes = #{specialNotes,jdbcType=LONGVARCHAR} |
|
|
special_notes = #{specialNotes,jdbcType=LONGVARCHAR} |
|
|
@ -660,7 +679,8 @@ |
|
|
salesforce_primary_id = #{salesforcePrimaryId,jdbcType=BIGINT}, |
|
|
salesforce_primary_id = #{salesforcePrimaryId,jdbcType=BIGINT}, |
|
|
site_manager = #{siteManager,jdbcType=VARCHAR}, |
|
|
site_manager = #{siteManager,jdbcType=VARCHAR}, |
|
|
king_contract_no = #{kingContractNo,jdbcType=VARCHAR}, |
|
|
king_contract_no = #{kingContractNo,jdbcType=VARCHAR}, |
|
|
kvm_url = #{kvmUrl,jdbcType=VARCHAR} |
|
|
kvm_url = #{kvmUrl,jdbcType=VARCHAR}, |
|
|
|
|
|
camera_enabled = #{cameraEnabled,jdbcType=INTEGER} |
|
|
where building_id = #{buildingId,jdbcType=BIGINT} |
|
|
where building_id = #{buildingId,jdbcType=BIGINT} |
|
|
</update> |
|
|
</update> |
|
|
</mapper> |
|
|
</mapper> |