|
|
@ -26,6 +26,7 @@ |
|
|
<result column="salesforce_primary_id" jdbcType="BIGINT" property="salesforcePrimaryId" /> |
|
|
<result column="salesforce_primary_id" jdbcType="BIGINT" property="salesforcePrimaryId" /> |
|
|
<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" /> |
|
|
</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"> |
|
|
<!-- |
|
|
<!-- |
|
|
@ -109,7 +110,7 @@ |
|
|
--> |
|
|
--> |
|
|
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 |
|
|
latitude, longitude, retain_alert, salesforce_primary_id, site_manager, king_contract_no, kvm_url |
|
|
</sql> |
|
|
</sql> |
|
|
<sql id="Blob_Column_List"> |
|
|
<sql id="Blob_Column_List"> |
|
|
<!-- |
|
|
<!-- |
|
|
@ -202,7 +203,7 @@ |
|
|
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, floor_info_list, picture_introduction, |
|
|
king_contract_no, kvm_url, 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}, |
|
|
@ -210,7 +211,7 @@ |
|
|
#{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}, #{floorInfoList,jdbcType=LONGVARCHAR}, #{pictureIntroduction,jdbcType=LONGVARCHAR}, |
|
|
#{kingContractNo,jdbcType=VARCHAR}, #{kvmUrl,jdbcType=VARCHAR}, #{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"> |
|
|
@ -280,6 +281,9 @@ |
|
|
<if test="kingContractNo != null"> |
|
|
<if test="kingContractNo != null"> |
|
|
king_contract_no, |
|
|
king_contract_no, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="kvmUrl != null"> |
|
|
|
|
|
kvm_url, |
|
|
|
|
|
</if> |
|
|
<if test="floorInfoList != null"> |
|
|
<if test="floorInfoList != null"> |
|
|
floor_info_list, |
|
|
floor_info_list, |
|
|
</if> |
|
|
</if> |
|
|
@ -348,6 +352,9 @@ |
|
|
<if test="kingContractNo != null"> |
|
|
<if test="kingContractNo != null"> |
|
|
#{kingContractNo,jdbcType=VARCHAR}, |
|
|
#{kingContractNo,jdbcType=VARCHAR}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="kvmUrl != null"> |
|
|
|
|
|
#{kvmUrl,jdbcType=VARCHAR}, |
|
|
|
|
|
</if> |
|
|
<if test="floorInfoList != null"> |
|
|
<if test="floorInfoList != null"> |
|
|
#{floorInfoList,jdbcType=LONGVARCHAR}, |
|
|
#{floorInfoList,jdbcType=LONGVARCHAR}, |
|
|
</if> |
|
|
</if> |
|
|
@ -436,6 +443,9 @@ |
|
|
<if test="record.kingContractNo != null"> |
|
|
<if test="record.kingContractNo != null"> |
|
|
king_contract_no = #{record.kingContractNo,jdbcType=VARCHAR}, |
|
|
king_contract_no = #{record.kingContractNo,jdbcType=VARCHAR}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="record.kvmUrl != null"> |
|
|
|
|
|
kvm_url = #{record.kvmUrl,jdbcType=VARCHAR}, |
|
|
|
|
|
</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> |
|
|
@ -476,6 +486,7 @@ |
|
|
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}, |
|
|
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} |
|
|
@ -508,7 +519,8 @@ |
|
|
retain_alert = #{record.retainAlert,jdbcType=INTEGER}, |
|
|
retain_alert = #{record.retainAlert,jdbcType=INTEGER}, |
|
|
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} |
|
|
<if test="_parameter != null"> |
|
|
<if test="_parameter != null"> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
</if> |
|
|
</if> |
|
|
@ -577,6 +589,9 @@ |
|
|
<if test="kingContractNo != null"> |
|
|
<if test="kingContractNo != null"> |
|
|
king_contract_no = #{kingContractNo,jdbcType=VARCHAR}, |
|
|
king_contract_no = #{kingContractNo,jdbcType=VARCHAR}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="kvmUrl != null"> |
|
|
|
|
|
kvm_url = #{kvmUrl,jdbcType=VARCHAR}, |
|
|
|
|
|
</if> |
|
|
<if test="floorInfoList != null"> |
|
|
<if test="floorInfoList != null"> |
|
|
floor_info_list = #{floorInfoList,jdbcType=LONGVARCHAR}, |
|
|
floor_info_list = #{floorInfoList,jdbcType=LONGVARCHAR}, |
|
|
</if> |
|
|
</if> |
|
|
@ -614,6 +629,7 @@ |
|
|
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}, |
|
|
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} |
|
|
@ -643,7 +659,8 @@ |
|
|
retain_alert = #{retainAlert,jdbcType=INTEGER}, |
|
|
retain_alert = #{retainAlert,jdbcType=INTEGER}, |
|
|
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} |
|
|
where building_id = #{buildingId,jdbcType=BIGINT} |
|
|
where building_id = #{buildingId,jdbcType=BIGINT} |
|
|
</update> |
|
|
</update> |
|
|
</mapper> |
|
|
</mapper> |