|
@@ -8,7 +8,6 @@
|
|
|
<result column="disc_id" jdbcType="VARCHAR" property="discId" />
|
|
|
<result column="build_id" jdbcType="VARCHAR" property="buildId" />
|
|
|
<result column="house_id" jdbcType="VARCHAR" property="houseId" />
|
|
|
- <result column="deposit_number" jdbcType="VARCHAR" property="depositNumber" />
|
|
|
<result column="status" jdbcType="INTEGER" property="status" />
|
|
|
<result column="receivable_money" jdbcType="DECIMAL" property="receivableMoney" />
|
|
|
<result column="received_amount" jdbcType="DECIMAL" property="receivedAmount" />
|
|
@@ -84,9 +83,9 @@
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
- id, customer_management_id, group_id, disc_id, build_id, house_id, deposit_number,
|
|
|
- status, receivable_money, received_amount, payment_method, serial_number, collection_id,
|
|
|
- collection_time, created_id, created_at, updated_at, updated_id
|
|
|
+ id, customer_management_id, group_id, disc_id, build_id, house_id, status, receivable_money,
|
|
|
+ received_amount, payment_method, serial_number, collection_id, collection_time, created_id,
|
|
|
+ created_at, updated_at, updated_id
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
remark, file_list
|
|
@@ -142,18 +141,18 @@
|
|
|
<insert id="insert" parameterType="com.idea.customerManagement.model.RoomSelectionInfo">
|
|
|
insert into room_selection_info (id, customer_management_id, group_id,
|
|
|
disc_id, build_id, house_id,
|
|
|
- deposit_number, status, receivable_money,
|
|
|
- received_amount, payment_method, serial_number,
|
|
|
- collection_id, collection_time, created_id,
|
|
|
- created_at, updated_at, updated_id,
|
|
|
- remark, file_list)
|
|
|
+ status, receivable_money, received_amount,
|
|
|
+ payment_method, serial_number, collection_id,
|
|
|
+ collection_time, created_id, created_at,
|
|
|
+ updated_at, updated_id, remark,
|
|
|
+ file_list)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{customerManagementId,jdbcType=VARCHAR}, #{groupId,jdbcType=VARCHAR},
|
|
|
#{discId,jdbcType=VARCHAR}, #{buildId,jdbcType=VARCHAR}, #{houseId,jdbcType=VARCHAR},
|
|
|
- #{depositNumber,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{receivableMoney,jdbcType=DECIMAL},
|
|
|
- #{receivedAmount,jdbcType=DECIMAL}, #{paymentMethod,jdbcType=INTEGER}, #{serialNumber,jdbcType=VARCHAR},
|
|
|
- #{collectionId,jdbcType=VARCHAR}, #{collectionTime,jdbcType=TIMESTAMP}, #{createdId,jdbcType=VARCHAR},
|
|
|
- #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{updatedId,jdbcType=VARCHAR},
|
|
|
- #{remark,jdbcType=LONGVARCHAR}, #{fileList,jdbcType=LONGVARCHAR})
|
|
|
+ #{status,jdbcType=INTEGER}, #{receivableMoney,jdbcType=DECIMAL}, #{receivedAmount,jdbcType=DECIMAL},
|
|
|
+ #{paymentMethod,jdbcType=INTEGER}, #{serialNumber,jdbcType=VARCHAR}, #{collectionId,jdbcType=VARCHAR},
|
|
|
+ #{collectionTime,jdbcType=TIMESTAMP}, #{createdId,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP},
|
|
|
+ #{updatedAt,jdbcType=TIMESTAMP}, #{updatedId,jdbcType=VARCHAR}, #{remark,jdbcType=LONGVARCHAR},
|
|
|
+ #{fileList,jdbcType=LONGVARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.idea.customerManagement.model.RoomSelectionInfo">
|
|
|
insert into room_selection_info
|
|
@@ -176,9 +175,6 @@
|
|
|
<if test="houseId != null">
|
|
|
house_id,
|
|
|
</if>
|
|
|
- <if test="depositNumber != null">
|
|
|
- deposit_number,
|
|
|
- </if>
|
|
|
<if test="status != null">
|
|
|
status,
|
|
|
</if>
|
|
@@ -238,9 +234,6 @@
|
|
|
<if test="houseId != null">
|
|
|
#{houseId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="depositNumber != null">
|
|
|
- #{depositNumber,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
<if test="status != null">
|
|
|
#{status,jdbcType=INTEGER},
|
|
|
</if>
|
|
@@ -309,9 +302,6 @@
|
|
|
<if test="record.houseId != null">
|
|
|
house_id = #{record.houseId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.depositNumber != null">
|
|
|
- deposit_number = #{record.depositNumber,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
<if test="record.status != null">
|
|
|
status = #{record.status,jdbcType=INTEGER},
|
|
|
</if>
|
|
@@ -364,7 +354,6 @@
|
|
|
disc_id = #{record.discId,jdbcType=VARCHAR},
|
|
|
build_id = #{record.buildId,jdbcType=VARCHAR},
|
|
|
house_id = #{record.houseId,jdbcType=VARCHAR},
|
|
|
- deposit_number = #{record.depositNumber,jdbcType=VARCHAR},
|
|
|
status = #{record.status,jdbcType=INTEGER},
|
|
|
receivable_money = #{record.receivableMoney,jdbcType=DECIMAL},
|
|
|
received_amount = #{record.receivedAmount,jdbcType=DECIMAL},
|
|
@@ -390,7 +379,6 @@
|
|
|
disc_id = #{record.discId,jdbcType=VARCHAR},
|
|
|
build_id = #{record.buildId,jdbcType=VARCHAR},
|
|
|
house_id = #{record.houseId,jdbcType=VARCHAR},
|
|
|
- deposit_number = #{record.depositNumber,jdbcType=VARCHAR},
|
|
|
status = #{record.status,jdbcType=INTEGER},
|
|
|
receivable_money = #{record.receivableMoney,jdbcType=DECIMAL},
|
|
|
received_amount = #{record.receivedAmount,jdbcType=DECIMAL},
|
|
@@ -424,9 +412,6 @@
|
|
|
<if test="houseId != null">
|
|
|
house_id = #{houseId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="depositNumber != null">
|
|
|
- deposit_number = #{depositNumber,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
<if test="status != null">
|
|
|
status = #{status,jdbcType=INTEGER},
|
|
|
</if>
|
|
@@ -476,7 +461,6 @@
|
|
|
disc_id = #{discId,jdbcType=VARCHAR},
|
|
|
build_id = #{buildId,jdbcType=VARCHAR},
|
|
|
house_id = #{houseId,jdbcType=VARCHAR},
|
|
|
- deposit_number = #{depositNumber,jdbcType=VARCHAR},
|
|
|
status = #{status,jdbcType=INTEGER},
|
|
|
receivable_money = #{receivableMoney,jdbcType=DECIMAL},
|
|
|
received_amount = #{receivedAmount,jdbcType=DECIMAL},
|
|
@@ -499,7 +483,6 @@
|
|
|
disc_id = #{discId,jdbcType=VARCHAR},
|
|
|
build_id = #{buildId,jdbcType=VARCHAR},
|
|
|
house_id = #{houseId,jdbcType=VARCHAR},
|
|
|
- deposit_number = #{depositNumber,jdbcType=VARCHAR},
|
|
|
status = #{status,jdbcType=INTEGER},
|
|
|
receivable_money = #{receivableMoney,jdbcType=DECIMAL},
|
|
|
received_amount = #{receivedAmount,jdbcType=DECIMAL},
|