|
|
@ -31,6 +31,7 @@ |
|
|
--> |
|
|
--> |
|
|
<result column="floor_info_list" jdbcType="LONGVARCHAR" property="floorInfoList" /> |
|
|
<result column="floor_info_list" jdbcType="LONGVARCHAR" property="floorInfoList" /> |
|
|
<result column="picture_introduction" jdbcType="LONGVARCHAR" property="pictureIntroduction" /> |
|
|
<result column="picture_introduction" jdbcType="LONGVARCHAR" property="pictureIntroduction" /> |
|
|
|
|
|
<result column="special_notes" jdbcType="LONGVARCHAR" property="specialNotes" /> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
<sql id="Example_Where_Clause"> |
|
|
<sql id="Example_Where_Clause"> |
|
|
<!-- |
|
|
<!-- |
|
|
@ -112,7 +113,7 @@ |
|
|
WARNING - @mbg.generated |
|
|
WARNING - @mbg.generated |
|
|
This element is automatically generated by MyBatis Generator, do not modify. |
|
|
This element is automatically generated by MyBatis Generator, do not modify. |
|
|
--> |
|
|
--> |
|
|
floor_info_list, picture_introduction |
|
|
floor_info_list, picture_introduction, special_notes |
|
|
</sql> |
|
|
</sql> |
|
|
<select id="selectByExampleWithBLOBs" parameterType="com.techsor.datacenter.business.model.BasicBuildingExample" resultMap="ResultMapWithBLOBs"> |
|
|
<select id="selectByExampleWithBLOBs" parameterType="com.techsor.datacenter.business.model.BasicBuildingExample" resultMap="ResultMapWithBLOBs"> |
|
|
<!-- |
|
|
<!-- |
|
|
@ -197,15 +198,15 @@ |
|
|
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, latitude, longitude, |
|
|
brief_introduction, latitude, longitude, |
|
|
retain_alert, floor_info_list, picture_introduction |
|
|
retain_alert, floor_info_list, picture_introduction, |
|
|
) |
|
|
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}, |
|
|
#{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}, #{latitude,jdbcType=VARCHAR}, #{longitude,jdbcType=VARCHAR}, |
|
|
#{briefIntroduction,jdbcType=VARCHAR}, #{latitude,jdbcType=VARCHAR}, #{longitude,jdbcType=VARCHAR}, |
|
|
#{retainAlert,jdbcType=INTEGER}, #{floorInfoList,jdbcType=LONGVARCHAR}, #{pictureIntroduction,jdbcType=LONGVARCHAR} |
|
|
#{retainAlert,jdbcType=INTEGER}, #{floorInfoList,jdbcType=LONGVARCHAR}, #{pictureIntroduction,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"> |
|
|
<!-- |
|
|
<!-- |
|
|
@ -271,6 +272,9 @@ |
|
|
<if test="pictureIntroduction != null"> |
|
|
<if test="pictureIntroduction != null"> |
|
|
picture_introduction, |
|
|
picture_introduction, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="specialNotes != null"> |
|
|
|
|
|
special_notes, |
|
|
|
|
|
</if> |
|
|
</trim> |
|
|
</trim> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<if test="companyId != null"> |
|
|
<if test="companyId != null"> |
|
|
@ -327,6 +331,9 @@ |
|
|
<if test="pictureIntroduction != null"> |
|
|
<if test="pictureIntroduction != null"> |
|
|
#{pictureIntroduction,jdbcType=LONGVARCHAR}, |
|
|
#{pictureIntroduction,jdbcType=LONGVARCHAR}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="specialNotes != null"> |
|
|
|
|
|
#{specialNotes,jdbcType=LONGVARCHAR}, |
|
|
|
|
|
</if> |
|
|
</trim> |
|
|
</trim> |
|
|
</insert> |
|
|
</insert> |
|
|
<select id="countByExample" parameterType="com.techsor.datacenter.business.model.BasicBuildingExample" resultType="java.lang.Long"> |
|
|
<select id="countByExample" parameterType="com.techsor.datacenter.business.model.BasicBuildingExample" resultType="java.lang.Long"> |
|
|
@ -403,6 +410,9 @@ |
|
|
<if test="record.pictureIntroduction != null"> |
|
|
<if test="record.pictureIntroduction != null"> |
|
|
picture_introduction = #{record.pictureIntroduction,jdbcType=LONGVARCHAR}, |
|
|
picture_introduction = #{record.pictureIntroduction,jdbcType=LONGVARCHAR}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="record.specialNotes != null"> |
|
|
|
|
|
special_notes = #{record.specialNotes,jdbcType=LONGVARCHAR}, |
|
|
|
|
|
</if> |
|
|
</set> |
|
|
</set> |
|
|
<if test="_parameter != null"> |
|
|
<if test="_parameter != null"> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
@ -432,7 +442,8 @@ |
|
|
longitude = #{record.longitude,jdbcType=VARCHAR}, |
|
|
longitude = #{record.longitude,jdbcType=VARCHAR}, |
|
|
retain_alert = #{record.retainAlert,jdbcType=INTEGER}, |
|
|
retain_alert = #{record.retainAlert,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} |
|
|
<if test="_parameter != null"> |
|
|
<if test="_parameter != null"> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
</if> |
|
|
</if> |
|
|
@ -525,6 +536,9 @@ |
|
|
<if test="pictureIntroduction != null"> |
|
|
<if test="pictureIntroduction != null"> |
|
|
picture_introduction = #{pictureIntroduction,jdbcType=LONGVARCHAR}, |
|
|
picture_introduction = #{pictureIntroduction,jdbcType=LONGVARCHAR}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="specialNotes != null"> |
|
|
|
|
|
special_notes = #{specialNotes,jdbcType=LONGVARCHAR}, |
|
|
|
|
|
</if> |
|
|
</set> |
|
|
</set> |
|
|
where building_id = #{buildingId,jdbcType=BIGINT} |
|
|
where building_id = #{buildingId,jdbcType=BIGINT} |
|
|
</update> |
|
|
</update> |
|
|
@ -551,7 +565,8 @@ |
|
|
longitude = #{longitude,jdbcType=VARCHAR}, |
|
|
longitude = #{longitude,jdbcType=VARCHAR}, |
|
|
retain_alert = #{retainAlert,jdbcType=INTEGER}, |
|
|
retain_alert = #{retainAlert,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} |
|
|
where building_id = #{buildingId,jdbcType=BIGINT} |
|
|
where building_id = #{buildingId,jdbcType=BIGINT} |
|
|
</update> |
|
|
</update> |
|
|
<update id="updateByPrimaryKey" parameterType="com.techsor.datacenter.business.model.BasicBuilding"> |
|
|
<update id="updateByPrimaryKey" parameterType="com.techsor.datacenter.business.model.BasicBuilding"> |
|
|
|