|
@@ -29,6 +29,7 @@
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
<result column="update_user" jdbcType="VARCHAR" property="updateUser" />
|
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
|
|
+ <result column="looking_notes" jdbcType="VARCHAR" property="lookingNotes" />
|
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
|
<where>
|
|
@@ -93,7 +94,7 @@
|
|
|
mnp_building_no, park_room_id, park_room_floor, park_room_no, buyer_name, buyer_phone,
|
|
|
buyer_gender, buyer_address, applicant_name, applicant_phone, overview_content, reservation_date,
|
|
|
reservation_time_start, reservation_time_end, reservation_order, reservation_status,
|
|
|
- door_pass_status, create_user, create_time, update_user, update_time
|
|
|
+ door_pass_status, create_user, create_time, update_user, update_time, looking_notes
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.idea.buildManage.model.ParkRoomReservationExample" resultMap="BaseResultMap">
|
|
|
select
|
|
@@ -135,7 +136,7 @@
|
|
|
reservation_time_start, reservation_time_end,
|
|
|
reservation_order, reservation_status, door_pass_status,
|
|
|
create_user, create_time, update_user,
|
|
|
- update_time)
|
|
|
+ update_time, looking_notes)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{parkInfoId,jdbcType=VARCHAR}, #{parkInfoName,jdbcType=VARCHAR},
|
|
|
#{parkFloorDiscId,jdbcType=VARCHAR}, #{parkFloorDiscName,jdbcType=VARCHAR}, #{mnpBuildingId,jdbcType=VARCHAR},
|
|
|
#{mnpBuildingNo,jdbcType=VARCHAR}, #{parkRoomId,jdbcType=VARCHAR}, #{parkRoomFloor,jdbcType=VARCHAR},
|
|
@@ -145,7 +146,7 @@
|
|
|
#{reservationTimeStart,jdbcType=VARCHAR}, #{reservationTimeEnd,jdbcType=VARCHAR},
|
|
|
#{reservationOrder,jdbcType=INTEGER}, #{reservationStatus,jdbcType=INTEGER}, #{doorPassStatus,jdbcType=INTEGER},
|
|
|
#{createUser,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateUser,jdbcType=VARCHAR},
|
|
|
- #{updateTime,jdbcType=TIMESTAMP})
|
|
|
+ #{updateTime,jdbcType=TIMESTAMP}, #{lookingNotes,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.idea.buildManage.model.ParkRoomReservation">
|
|
|
insert into park_room_reservation
|
|
@@ -231,6 +232,9 @@
|
|
|
<if test="updateTime != null">
|
|
|
update_time,
|
|
|
</if>
|
|
|
+ <if test="lookingNotes != null">
|
|
|
+ looking_notes,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
@@ -314,6 +318,9 @@
|
|
|
<if test="updateTime != null">
|
|
|
#{updateTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="lookingNotes != null">
|
|
|
+ #{lookingNotes,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.idea.buildManage.model.ParkRoomReservationExample" resultType="java.lang.Long">
|
|
@@ -406,6 +413,9 @@
|
|
|
<if test="record.updateTime != null">
|
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="record.lookingNotes != null">
|
|
|
+ looking_notes = #{record.lookingNotes,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -439,7 +449,8 @@
|
|
|
create_user = #{record.createUser,jdbcType=VARCHAR},
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
update_user = #{record.updateUser,jdbcType=VARCHAR},
|
|
|
- update_time = #{record.updateTime,jdbcType=TIMESTAMP}
|
|
|
+ update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
|
+ looking_notes = #{record.lookingNotes,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -525,6 +536,9 @@
|
|
|
<if test="updateTime != null">
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="lookingNotes != null">
|
|
|
+ looking_notes = #{lookingNotes,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
@@ -555,7 +569,8 @@
|
|
|
create_user = #{createUser,jdbcType=VARCHAR},
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
update_user = #{updateUser,jdbcType=VARCHAR},
|
|
|
- update_time = #{updateTime,jdbcType=TIMESTAMP}
|
|
|
+ update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
+ looking_notes = #{lookingNotes,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|