|
@@ -20,12 +20,13 @@
|
|
|
<result column="room_number" jdbcType="VARCHAR" property="roomNumber" />
|
|
|
<result column="decoration_situation" jdbcType="INTEGER" property="decorationSituation" />
|
|
|
<result column="house_type_id" jdbcType="VARCHAR" property="houseTypeId" />
|
|
|
- <result column="plan_picture" jdbcType="VARCHAR" property="planPicture" />
|
|
|
+ <result column="house_type_picture" jdbcType="VARCHAR" property="houseTypePicture" />
|
|
|
<result column="created_id" jdbcType="VARCHAR" property="createdId" />
|
|
|
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" />
|
|
|
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" />
|
|
|
<result column="updated_id" jdbcType="VARCHAR" property="updatedId" />
|
|
|
- <result column="state" jdbcType="VARCHAR" property="state" />
|
|
|
+ <result column="sale_status" jdbcType="INTEGER" property="saleStatus" />
|
|
|
+ <result column="sold_status" jdbcType="INTEGER" property="soldStatus" />
|
|
|
<result column="two_point_two" jdbcType="VARCHAR" property="twoPointTwo" />
|
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.idea.buildManage.model.ParkRoom">
|
|
@@ -93,8 +94,8 @@
|
|
|
id, build_id, disc_id, group_id, room_no, floor, prediction_internal_area, prediction_share_area,
|
|
|
prediction_build_area, prediction_land_area, actual_internal_area, actual_share_area,
|
|
|
actual_build_area, actual_land_area, room_use, room_number, decoration_situation,
|
|
|
- house_type_id, plan_picture, created_id, created_at, updated_at, updated_id, state,
|
|
|
- two_point_two
|
|
|
+ house_type_id, house_type_picture, created_id, created_at, updated_at, updated_id,
|
|
|
+ sale_status, sold_status, two_point_two
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
remark
|
|
@@ -154,20 +155,20 @@
|
|
|
prediction_build_area, prediction_land_area,
|
|
|
actual_internal_area, actual_share_area, actual_build_area,
|
|
|
actual_land_area, room_use, room_number,
|
|
|
- decoration_situation, house_type_id, plan_picture,
|
|
|
+ decoration_situation, house_type_id, house_type_picture,
|
|
|
created_id, created_at, updated_at,
|
|
|
- updated_id, state, two_point_two,
|
|
|
- remark)
|
|
|
+ updated_id, sale_status, sold_status,
|
|
|
+ two_point_two, remark)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{buildId,jdbcType=VARCHAR}, #{discId,jdbcType=VARCHAR},
|
|
|
#{groupId,jdbcType=VARCHAR}, #{roomNo,jdbcType=VARCHAR}, #{floor,jdbcType=VARCHAR},
|
|
|
#{predictionInternalArea,jdbcType=DOUBLE}, #{predictionShareArea,jdbcType=DOUBLE},
|
|
|
#{predictionBuildArea,jdbcType=DOUBLE}, #{predictionLandArea,jdbcType=DOUBLE},
|
|
|
#{actualInternalArea,jdbcType=DOUBLE}, #{actualShareArea,jdbcType=DOUBLE}, #{actualBuildArea,jdbcType=DOUBLE},
|
|
|
#{actualLandArea,jdbcType=DOUBLE}, #{roomUse,jdbcType=INTEGER}, #{roomNumber,jdbcType=VARCHAR},
|
|
|
- #{decorationSituation,jdbcType=INTEGER}, #{houseTypeId,jdbcType=VARCHAR}, #{planPicture,jdbcType=VARCHAR},
|
|
|
+ #{decorationSituation,jdbcType=INTEGER}, #{houseTypeId,jdbcType=VARCHAR}, #{houseTypePicture,jdbcType=VARCHAR},
|
|
|
#{createdId,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP},
|
|
|
- #{updatedId,jdbcType=VARCHAR}, #{state,jdbcType=VARCHAR}, #{twoPointTwo,jdbcType=VARCHAR},
|
|
|
- #{remark,jdbcType=LONGVARCHAR})
|
|
|
+ #{updatedId,jdbcType=VARCHAR}, #{saleStatus,jdbcType=INTEGER}, #{soldStatus,jdbcType=INTEGER},
|
|
|
+ #{twoPointTwo,jdbcType=VARCHAR}, #{remark,jdbcType=LONGVARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.idea.buildManage.model.ParkRoom">
|
|
|
insert into park_room
|
|
@@ -226,8 +227,8 @@
|
|
|
<if test="houseTypeId != null">
|
|
|
house_type_id,
|
|
|
</if>
|
|
|
- <if test="planPicture != null">
|
|
|
- plan_picture,
|
|
|
+ <if test="houseTypePicture != null">
|
|
|
+ house_type_picture,
|
|
|
</if>
|
|
|
<if test="createdId != null">
|
|
|
created_id,
|
|
@@ -241,8 +242,11 @@
|
|
|
<if test="updatedId != null">
|
|
|
updated_id,
|
|
|
</if>
|
|
|
- <if test="state != null">
|
|
|
- state,
|
|
|
+ <if test="saleStatus != null">
|
|
|
+ sale_status,
|
|
|
+ </if>
|
|
|
+ <if test="soldStatus != null">
|
|
|
+ sold_status,
|
|
|
</if>
|
|
|
<if test="twoPointTwo != null">
|
|
|
two_point_two,
|
|
@@ -306,8 +310,8 @@
|
|
|
<if test="houseTypeId != null">
|
|
|
#{houseTypeId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="planPicture != null">
|
|
|
- #{planPicture,jdbcType=VARCHAR},
|
|
|
+ <if test="houseTypePicture != null">
|
|
|
+ #{houseTypePicture,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="createdId != null">
|
|
|
#{createdId,jdbcType=VARCHAR},
|
|
@@ -321,8 +325,11 @@
|
|
|
<if test="updatedId != null">
|
|
|
#{updatedId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="state != null">
|
|
|
- #{state,jdbcType=VARCHAR},
|
|
|
+ <if test="saleStatus != null">
|
|
|
+ #{saleStatus,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="soldStatus != null">
|
|
|
+ #{soldStatus,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="twoPointTwo != null">
|
|
|
#{twoPointTwo,jdbcType=VARCHAR},
|
|
@@ -395,8 +402,8 @@
|
|
|
<if test="record.houseTypeId != null">
|
|
|
house_type_id = #{record.houseTypeId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.planPicture != null">
|
|
|
- plan_picture = #{record.planPicture,jdbcType=VARCHAR},
|
|
|
+ <if test="record.houseTypePicture != null">
|
|
|
+ house_type_picture = #{record.houseTypePicture,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="record.createdId != null">
|
|
|
created_id = #{record.createdId,jdbcType=VARCHAR},
|
|
@@ -410,8 +417,11 @@
|
|
|
<if test="record.updatedId != null">
|
|
|
updated_id = #{record.updatedId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.state != null">
|
|
|
- state = #{record.state,jdbcType=VARCHAR},
|
|
|
+ <if test="record.saleStatus != null">
|
|
|
+ sale_status = #{record.saleStatus,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.soldStatus != null">
|
|
|
+ sold_status = #{record.soldStatus,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="record.twoPointTwo != null">
|
|
|
two_point_two = #{record.twoPointTwo,jdbcType=VARCHAR},
|
|
@@ -444,12 +454,13 @@
|
|
|
room_number = #{record.roomNumber,jdbcType=VARCHAR},
|
|
|
decoration_situation = #{record.decorationSituation,jdbcType=INTEGER},
|
|
|
house_type_id = #{record.houseTypeId,jdbcType=VARCHAR},
|
|
|
- plan_picture = #{record.planPicture,jdbcType=VARCHAR},
|
|
|
+ house_type_picture = #{record.houseTypePicture,jdbcType=VARCHAR},
|
|
|
created_id = #{record.createdId,jdbcType=VARCHAR},
|
|
|
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
|
|
|
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
|
|
|
updated_id = #{record.updatedId,jdbcType=VARCHAR},
|
|
|
- state = #{record.state,jdbcType=VARCHAR},
|
|
|
+ sale_status = #{record.saleStatus,jdbcType=INTEGER},
|
|
|
+ sold_status = #{record.soldStatus,jdbcType=INTEGER},
|
|
|
two_point_two = #{record.twoPointTwo,jdbcType=VARCHAR},
|
|
|
remark = #{record.remark,jdbcType=LONGVARCHAR}
|
|
|
<if test="_parameter != null">
|
|
@@ -476,12 +487,13 @@
|
|
|
room_number = #{record.roomNumber,jdbcType=VARCHAR},
|
|
|
decoration_situation = #{record.decorationSituation,jdbcType=INTEGER},
|
|
|
house_type_id = #{record.houseTypeId,jdbcType=VARCHAR},
|
|
|
- plan_picture = #{record.planPicture,jdbcType=VARCHAR},
|
|
|
+ house_type_picture = #{record.houseTypePicture,jdbcType=VARCHAR},
|
|
|
created_id = #{record.createdId,jdbcType=VARCHAR},
|
|
|
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
|
|
|
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
|
|
|
updated_id = #{record.updatedId,jdbcType=VARCHAR},
|
|
|
- state = #{record.state,jdbcType=VARCHAR},
|
|
|
+ sale_status = #{record.saleStatus,jdbcType=INTEGER},
|
|
|
+ sold_status = #{record.soldStatus,jdbcType=INTEGER},
|
|
|
two_point_two = #{record.twoPointTwo,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -541,8 +553,8 @@
|
|
|
<if test="houseTypeId != null">
|
|
|
house_type_id = #{houseTypeId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="planPicture != null">
|
|
|
- plan_picture = #{planPicture,jdbcType=VARCHAR},
|
|
|
+ <if test="houseTypePicture != null">
|
|
|
+ house_type_picture = #{houseTypePicture,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="createdId != null">
|
|
|
created_id = #{createdId,jdbcType=VARCHAR},
|
|
@@ -556,8 +568,11 @@
|
|
|
<if test="updatedId != null">
|
|
|
updated_id = #{updatedId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="state != null">
|
|
|
- state = #{state,jdbcType=VARCHAR},
|
|
|
+ <if test="saleStatus != null">
|
|
|
+ sale_status = #{saleStatus,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="soldStatus != null">
|
|
|
+ sold_status = #{soldStatus,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="twoPointTwo != null">
|
|
|
two_point_two = #{twoPointTwo,jdbcType=VARCHAR},
|
|
@@ -587,12 +602,13 @@
|
|
|
room_number = #{roomNumber,jdbcType=VARCHAR},
|
|
|
decoration_situation = #{decorationSituation,jdbcType=INTEGER},
|
|
|
house_type_id = #{houseTypeId,jdbcType=VARCHAR},
|
|
|
- plan_picture = #{planPicture,jdbcType=VARCHAR},
|
|
|
+ house_type_picture = #{houseTypePicture,jdbcType=VARCHAR},
|
|
|
created_id = #{createdId,jdbcType=VARCHAR},
|
|
|
created_at = #{createdAt,jdbcType=TIMESTAMP},
|
|
|
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
|
|
|
updated_id = #{updatedId,jdbcType=VARCHAR},
|
|
|
- state = #{state,jdbcType=VARCHAR},
|
|
|
+ sale_status = #{saleStatus,jdbcType=INTEGER},
|
|
|
+ sold_status = #{soldStatus,jdbcType=INTEGER},
|
|
|
two_point_two = #{twoPointTwo,jdbcType=VARCHAR},
|
|
|
remark = #{remark,jdbcType=LONGVARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
@@ -616,12 +632,13 @@
|
|
|
room_number = #{roomNumber,jdbcType=VARCHAR},
|
|
|
decoration_situation = #{decorationSituation,jdbcType=INTEGER},
|
|
|
house_type_id = #{houseTypeId,jdbcType=VARCHAR},
|
|
|
- plan_picture = #{planPicture,jdbcType=VARCHAR},
|
|
|
+ house_type_picture = #{houseTypePicture,jdbcType=VARCHAR},
|
|
|
created_id = #{createdId,jdbcType=VARCHAR},
|
|
|
created_at = #{createdAt,jdbcType=TIMESTAMP},
|
|
|
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
|
|
|
updated_id = #{updatedId,jdbcType=VARCHAR},
|
|
|
- state = #{state,jdbcType=VARCHAR},
|
|
|
+ sale_status = #{saleStatus,jdbcType=INTEGER},
|
|
|
+ sold_status = #{soldStatus,jdbcType=INTEGER},
|
|
|
two_point_two = #{twoPointTwo,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|