@ -20,6 +20,8 @@
<result column= "thumbnail_num" jdbcType= "INTEGER" property= "thumbnailNum" />
<result column= "thumbnail_num" jdbcType= "INTEGER" property= "thumbnailNum" />
<result column= "show_switch_2d3d" jdbcType= "INTEGER" property= "showSwitch2d3d" />
<result column= "show_switch_2d3d" jdbcType= "INTEGER" property= "showSwitch2d3d" />
<result column= "brief_introduction" jdbcType= "VARCHAR" property= "briefIntroduction" />
<result column= "brief_introduction" jdbcType= "VARCHAR" property= "briefIntroduction" />
<result column= "latitude" jdbcType= "VARCHAR" property= "latitude" />
<result column= "longitude" jdbcType= "VARCHAR" property= "longitude" />
</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" >
<!--
<!--
@ -101,7 +103,8 @@
This element is automatically generated by MyBatis Generator, do not modify.
This element is automatically generated by MyBatis Generator, do not modify.
-->
-->
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
</sql>
</sql>
<sql id= "Blob_Column_List" >
<sql id= "Blob_Column_List" >
<!--
<!--
@ -192,13 +195,15 @@
flag, create_time, creator_id,
flag, create_time, creator_id,
modify_time, modifier_id, udf_building_id,
modify_time, modifier_id, udf_building_id,
building_bucket, thumbnail_num, show_switch_2d3d,
building_bucket, thumbnail_num, show_switch_2d3d,
brief_introduction, floor_info_list, picture_introduction
brief_introduction, latitude, longitude,
floor_info_list, picture_introduction
)
)
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},
#{modifyTime,jdbcType=BIGINT}, #{modifierId,jdbcType=BIGINT}, #{udfBuildingId,jdbcType=VARCHAR},
#{modifyTime,jdbcType=BIGINT}, #{modifierId,jdbcType=BIGINT}, #{udfBuildingId,jdbcType=VARCHAR},
#{buildingBucket,jdbcType=VARCHAR}, #{thumbnailNum,jdbcType=INTEGER}, #{showSwitch2d3d,jdbcType=INTEGER},
#{buildingBucket,jdbcType=VARCHAR}, #{thumbnailNum,jdbcType=INTEGER}, #{showSwitch2d3d,jdbcType=INTEGER},
#{briefIntroduction,jdbcType=VARCHAR}, #{floorInfoList,jdbcType=LONGVARCHAR}, #{pictureIntroduction,jdbcType=LONGVARCHAR}
#{briefIntroduction,jdbcType=VARCHAR}, #{latitude,jdbcType=VARCHAR}, #{longitude,jdbcType=VARCHAR},
#{floorInfoList,jdbcType=LONGVARCHAR}, #{pictureIntroduction,jdbcType=LONGVARCHAR}
)
)
</insert>
</insert>
<insert id= "insertSelective" parameterType= "com.techsor.datacenter.business.model.BasicBuilding" >
<insert id= "insertSelective" parameterType= "com.techsor.datacenter.business.model.BasicBuilding" >
@ -250,6 +255,12 @@
<if test= "briefIntroduction != null" >
<if test= "briefIntroduction != null" >
brief_introduction,
brief_introduction,
</if>
</if>
<if test= "latitude != null" >
latitude,
</if>
<if test= "longitude != null" >
longitude,
</if>
<if test= "floorInfoList != null" >
<if test= "floorInfoList != null" >
floor_info_list,
floor_info_list,
</if>
</if>
@ -297,6 +308,12 @@
<if test= "briefIntroduction != null" >
<if test= "briefIntroduction != null" >
#{briefIntroduction,jdbcType=VARCHAR},
#{briefIntroduction,jdbcType=VARCHAR},
</if>
</if>
<if test= "latitude != null" >
#{latitude,jdbcType=VARCHAR},
</if>
<if test= "longitude != null" >
#{longitude,jdbcType=VARCHAR},
</if>
<if test= "floorInfoList != null" >
<if test= "floorInfoList != null" >
#{floorInfoList,jdbcType=LONGVARCHAR},
#{floorInfoList,jdbcType=LONGVARCHAR},
</if>
</if>
@ -364,6 +381,12 @@
<if test= "record.briefIntroduction != null" >
<if test= "record.briefIntroduction != null" >
brief_introduction = #{record.briefIntroduction,jdbcType=VARCHAR},
brief_introduction = #{record.briefIntroduction,jdbcType=VARCHAR},
</if>
</if>
<if test= "record.latitude != null" >
latitude = #{record.latitude,jdbcType=VARCHAR},
</if>
<if test= "record.longitude != null" >
longitude = #{record.longitude,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>
@ -395,6 +418,8 @@
thumbnail_num = #{record.thumbnailNum,jdbcType=INTEGER},
thumbnail_num = #{record.thumbnailNum,jdbcType=INTEGER},
show_switch_2d3d = #{record.showSwitch2d3d,jdbcType=INTEGER},
show_switch_2d3d = #{record.showSwitch2d3d,jdbcType=INTEGER},
brief_introduction = #{record.briefIntroduction,jdbcType=VARCHAR},
brief_introduction = #{record.briefIntroduction,jdbcType=VARCHAR},
latitude = #{record.latitude,jdbcType=VARCHAR},
longitude = #{record.longitude,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}
<if test= "_parameter != null" >
<if test= "_parameter != null" >
@ -420,7 +445,9 @@
building_bucket = #{record.buildingBucket,jdbcType=VARCHAR},
building_bucket = #{record.buildingBucket,jdbcType=VARCHAR},
thumbnail_num = #{record.thumbnailNum,jdbcType=INTEGER},
thumbnail_num = #{record.thumbnailNum,jdbcType=INTEGER},
show_switch_2d3d = #{record.showSwitch2d3d,jdbcType=INTEGER},
show_switch_2d3d = #{record.showSwitch2d3d,jdbcType=INTEGER},
brief_introduction = #{record.briefIntroduction,jdbcType=VARCHAR}
brief_introduction = #{record.briefIntroduction,jdbcType=VARCHAR},
latitude = #{record.latitude,jdbcType=VARCHAR},
longitude = #{record.longitude,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>
@ -471,6 +498,12 @@
<if test= "briefIntroduction != null" >
<if test= "briefIntroduction != null" >
brief_introduction = #{briefIntroduction,jdbcType=VARCHAR},
brief_introduction = #{briefIntroduction,jdbcType=VARCHAR},
</if>
</if>
<if test= "latitude != null" >
latitude = #{latitude,jdbcType=VARCHAR},
</if>
<if test= "longitude != null" >
longitude = #{longitude,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>
@ -499,6 +532,8 @@
thumbnail_num = #{thumbnailNum,jdbcType=INTEGER},
thumbnail_num = #{thumbnailNum,jdbcType=INTEGER},
show_switch_2d3d = #{showSwitch2d3d,jdbcType=INTEGER},
show_switch_2d3d = #{showSwitch2d3d,jdbcType=INTEGER},
brief_introduction = #{briefIntroduction,jdbcType=VARCHAR},
brief_introduction = #{briefIntroduction,jdbcType=VARCHAR},
latitude = #{latitude,jdbcType=VARCHAR},
longitude = #{longitude,jdbcType=VARCHAR},
floor_info_list = #{floorInfoList,jdbcType=LONGVARCHAR},
floor_info_list = #{floorInfoList,jdbcType=LONGVARCHAR},
picture_introduction = #{pictureIntroduction,jdbcType=LONGVARCHAR}
picture_introduction = #{pictureIntroduction,jdbcType=LONGVARCHAR}
where building_id = #{buildingId,jdbcType=BIGINT}
where building_id = #{buildingId,jdbcType=BIGINT}
@ -521,7 +556,9 @@
building_bucket = #{buildingBucket,jdbcType=VARCHAR},
building_bucket = #{buildingBucket,jdbcType=VARCHAR},
thumbnail_num = #{thumbnailNum,jdbcType=INTEGER},
thumbnail_num = #{thumbnailNum,jdbcType=INTEGER},
show_switch_2d3d = #{showSwitch2d3d,jdbcType=INTEGER},
show_switch_2d3d = #{showSwitch2d3d,jdbcType=INTEGER},
brief_introduction = #{briefIntroduction,jdbcType=VARCHAR}
brief_introduction = #{briefIntroduction,jdbcType=VARCHAR},
latitude = #{latitude,jdbcType=VARCHAR},
longitude = #{longitude,jdbcType=VARCHAR}
where building_id = #{buildingId,jdbcType=BIGINT}
where building_id = #{buildingId,jdbcType=BIGINT}
</update>
</update>
</mapper>
</mapper>