|
@@ -32,6 +32,8 @@
|
|
|
<result column="updated_id" jdbcType="VARCHAR" property="updatedId" />
|
|
|
<result column="collection_status" jdbcType="INTEGER" property="collectionStatus" />
|
|
|
<result column="fund_collection_status" jdbcType="INTEGER" property="fundCollectionStatus" />
|
|
|
+ <result column="bank_name" jdbcType="VARCHAR" property="bankName" />
|
|
|
+ <result column="bank_number" jdbcType="VARCHAR" property="bankNumber" />
|
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.idea.customerManagement.model.ContractManage">
|
|
|
<result column="remark" jdbcType="LONGVARCHAR" property="remark" />
|
|
@@ -102,7 +104,7 @@
|
|
|
house_price, total_price, buyer_proportion, buyer_money, buyer_name, payment_method,
|
|
|
down_payments_proportion, deadline, maintenance_funds, maintenance_total_price, contract_status,
|
|
|
subscription_funds, created_id, created_at, updated_at, updated_id, collection_status,
|
|
|
- fund_collection_status
|
|
|
+ fund_collection_status, bank_name, bank_number
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
remark, contract_original, contract_other
|
|
@@ -166,8 +168,9 @@
|
|
|
maintenance_total_price, contract_status,
|
|
|
subscription_funds, created_id, created_at,
|
|
|
updated_at, updated_id, collection_status,
|
|
|
- fund_collection_status, remark, contract_original,
|
|
|
- contract_other)
|
|
|
+ fund_collection_status, bank_name, bank_number,
|
|
|
+ remark, contract_original, contract_other
|
|
|
+ )
|
|
|
values (#{id,jdbcType=VARCHAR}, #{customerManagementId,jdbcType=VARCHAR}, #{recordNumber,jdbcType=VARCHAR},
|
|
|
#{contractNumber,jdbcType=VARCHAR}, #{seller,jdbcType=VARCHAR}, #{houseId,jdbcType=VARCHAR},
|
|
|
#{houseName,jdbcType=VARCHAR}, #{actualBuildArea,jdbcType=DOUBLE}, #{actualInternalArea,jdbcType=DOUBLE},
|
|
@@ -178,8 +181,9 @@
|
|
|
#{maintenanceTotalPrice,jdbcType=DECIMAL}, #{contractStatus,jdbcType=INTEGER},
|
|
|
#{subscriptionFunds,jdbcType=DECIMAL}, #{createdId,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP},
|
|
|
#{updatedAt,jdbcType=TIMESTAMP}, #{updatedId,jdbcType=VARCHAR}, #{collectionStatus,jdbcType=INTEGER},
|
|
|
- #{fundCollectionStatus,jdbcType=INTEGER}, #{remark,jdbcType=LONGVARCHAR}, #{contractOriginal,jdbcType=LONGVARCHAR},
|
|
|
- #{contractOther,jdbcType=LONGVARCHAR})
|
|
|
+ #{fundCollectionStatus,jdbcType=INTEGER}, #{bankName,jdbcType=VARCHAR}, #{bankNumber,jdbcType=VARCHAR},
|
|
|
+ #{remark,jdbcType=LONGVARCHAR}, #{contractOriginal,jdbcType=LONGVARCHAR}, #{contractOther,jdbcType=LONGVARCHAR}
|
|
|
+ )
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.idea.customerManagement.model.ContractManage">
|
|
|
insert into contract_manage
|
|
@@ -274,6 +278,12 @@
|
|
|
<if test="fundCollectionStatus != null">
|
|
|
fund_collection_status,
|
|
|
</if>
|
|
|
+ <if test="bankName != null">
|
|
|
+ bank_name,
|
|
|
+ </if>
|
|
|
+ <if test="bankNumber != null">
|
|
|
+ bank_number,
|
|
|
+ </if>
|
|
|
<if test="remark != null">
|
|
|
remark,
|
|
|
</if>
|
|
@@ -375,6 +385,12 @@
|
|
|
<if test="fundCollectionStatus != null">
|
|
|
#{fundCollectionStatus,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="bankName != null">
|
|
|
+ #{bankName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="bankNumber != null">
|
|
|
+ #{bankNumber,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="remark != null">
|
|
|
#{remark,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -485,6 +501,12 @@
|
|
|
<if test="record.fundCollectionStatus != null">
|
|
|
fund_collection_status = #{record.fundCollectionStatus,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="record.bankName != null">
|
|
|
+ bank_name = #{record.bankName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.bankNumber != null">
|
|
|
+ bank_number = #{record.bankNumber,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="record.remark != null">
|
|
|
remark = #{record.remark,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -531,6 +553,8 @@
|
|
|
updated_id = #{record.updatedId,jdbcType=VARCHAR},
|
|
|
collection_status = #{record.collectionStatus,jdbcType=INTEGER},
|
|
|
fund_collection_status = #{record.fundCollectionStatus,jdbcType=INTEGER},
|
|
|
+ bank_name = #{record.bankName,jdbcType=VARCHAR},
|
|
|
+ bank_number = #{record.bankNumber,jdbcType=VARCHAR},
|
|
|
remark = #{record.remark,jdbcType=LONGVARCHAR},
|
|
|
contract_original = #{record.contractOriginal,jdbcType=LONGVARCHAR},
|
|
|
contract_other = #{record.contractOther,jdbcType=LONGVARCHAR}
|
|
@@ -569,7 +593,9 @@
|
|
|
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
|
|
|
updated_id = #{record.updatedId,jdbcType=VARCHAR},
|
|
|
collection_status = #{record.collectionStatus,jdbcType=INTEGER},
|
|
|
- fund_collection_status = #{record.fundCollectionStatus,jdbcType=INTEGER}
|
|
|
+ fund_collection_status = #{record.fundCollectionStatus,jdbcType=INTEGER},
|
|
|
+ bank_name = #{record.bankName,jdbcType=VARCHAR},
|
|
|
+ bank_number = #{record.bankNumber,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -664,6 +690,12 @@
|
|
|
<if test="fundCollectionStatus != null">
|
|
|
fund_collection_status = #{fundCollectionStatus,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="bankName != null">
|
|
|
+ bank_name = #{bankName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="bankNumber != null">
|
|
|
+ bank_number = #{bankNumber,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="remark != null">
|
|
|
remark = #{remark,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -707,6 +739,8 @@
|
|
|
updated_id = #{updatedId,jdbcType=VARCHAR},
|
|
|
collection_status = #{collectionStatus,jdbcType=INTEGER},
|
|
|
fund_collection_status = #{fundCollectionStatus,jdbcType=INTEGER},
|
|
|
+ bank_name = #{bankName,jdbcType=VARCHAR},
|
|
|
+ bank_number = #{bankNumber,jdbcType=VARCHAR},
|
|
|
remark = #{remark,jdbcType=LONGVARCHAR},
|
|
|
contract_original = #{contractOriginal,jdbcType=LONGVARCHAR},
|
|
|
contract_other = #{contractOther,jdbcType=LONGVARCHAR}
|
|
@@ -742,7 +776,9 @@
|
|
|
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
|
|
|
updated_id = #{updatedId,jdbcType=VARCHAR},
|
|
|
collection_status = #{collectionStatus,jdbcType=INTEGER},
|
|
|
- fund_collection_status = #{fundCollectionStatus,jdbcType=INTEGER}
|
|
|
+ fund_collection_status = #{fundCollectionStatus,jdbcType=INTEGER},
|
|
|
+ bank_name = #{bankName,jdbcType=VARCHAR},
|
|
|
+ bank_number = #{bankNumber,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|