|
@@ -8,6 +8,7 @@
|
|
|
<result column="customer_management_id" jdbcType="VARCHAR" property="customerManagementId" />
|
|
|
<result column="approval_number" jdbcType="VARCHAR" property="approvalNumber" />
|
|
|
<result column="applicant" jdbcType="VARCHAR" property="applicant" />
|
|
|
+ <result column="applicant_buyer_id" jdbcType="VARCHAR" property="applicantBuyerId" />
|
|
|
<result column="identity_card" jdbcType="VARCHAR" property="identityCard" />
|
|
|
<result column="reason" jdbcType="INTEGER" property="reason" />
|
|
|
<result column="buyer_name" jdbcType="VARCHAR" property="buyerName" />
|
|
@@ -85,9 +86,9 @@
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
- id, house_id, contract_id, customer_management_id, approval_number, applicant, identity_card,
|
|
|
- reason, buyer_name, refund_amount, actual_refund_amount, deductible, bank_number,
|
|
|
- created_id, created_at, updated_at, updated_id, is_hide, house_name
|
|
|
+ id, house_id, contract_id, customer_management_id, approval_number, applicant, applicant_buyer_id,
|
|
|
+ identity_card, reason, buyer_name, refund_amount, actual_refund_amount, deductible,
|
|
|
+ bank_number, created_id, created_at, updated_at, updated_id, is_hide, house_name
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
remark, file_list
|
|
@@ -143,20 +144,20 @@
|
|
|
<insert id="insert" parameterType="com.idea.paymentManagement.model.RefundManage">
|
|
|
insert into refund_manage (id, house_id, contract_id,
|
|
|
customer_management_id, approval_number, applicant,
|
|
|
- identity_card, reason, buyer_name,
|
|
|
- refund_amount, actual_refund_amount, deductible,
|
|
|
- bank_number, created_id, created_at,
|
|
|
- updated_at, updated_id, is_hide,
|
|
|
- house_name, remark, file_list
|
|
|
- )
|
|
|
+ applicant_buyer_id, identity_card, reason,
|
|
|
+ buyer_name, refund_amount, actual_refund_amount,
|
|
|
+ deductible, bank_number, created_id,
|
|
|
+ created_at, updated_at, updated_id,
|
|
|
+ is_hide, house_name, remark,
|
|
|
+ file_list)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{houseId,jdbcType=VARCHAR}, #{contractId,jdbcType=VARCHAR},
|
|
|
#{customerManagementId,jdbcType=VARCHAR}, #{approvalNumber,jdbcType=VARCHAR}, #{applicant,jdbcType=VARCHAR},
|
|
|
- #{identityCard,jdbcType=VARCHAR}, #{reason,jdbcType=INTEGER}, #{buyerName,jdbcType=VARCHAR},
|
|
|
- #{refundAmount,jdbcType=DECIMAL}, #{actualRefundAmount,jdbcType=DECIMAL}, #{deductible,jdbcType=DECIMAL},
|
|
|
- #{bankNumber,jdbcType=VARCHAR}, #{createdId,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP},
|
|
|
- #{updatedAt,jdbcType=TIMESTAMP}, #{updatedId,jdbcType=VARCHAR}, #{isHide,jdbcType=INTEGER},
|
|
|
- #{houseName,jdbcType=VARCHAR}, #{remark,jdbcType=LONGVARCHAR}, #{fileList,jdbcType=LONGVARCHAR}
|
|
|
- )
|
|
|
+ #{applicantBuyerId,jdbcType=VARCHAR}, #{identityCard,jdbcType=VARCHAR}, #{reason,jdbcType=INTEGER},
|
|
|
+ #{buyerName,jdbcType=VARCHAR}, #{refundAmount,jdbcType=DECIMAL}, #{actualRefundAmount,jdbcType=DECIMAL},
|
|
|
+ #{deductible,jdbcType=DECIMAL}, #{bankNumber,jdbcType=VARCHAR}, #{createdId,jdbcType=VARCHAR},
|
|
|
+ #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{updatedId,jdbcType=VARCHAR},
|
|
|
+ #{isHide,jdbcType=INTEGER}, #{houseName,jdbcType=VARCHAR}, #{remark,jdbcType=LONGVARCHAR},
|
|
|
+ #{fileList,jdbcType=LONGVARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.idea.paymentManagement.model.RefundManage">
|
|
|
insert into refund_manage
|
|
@@ -179,6 +180,9 @@
|
|
|
<if test="applicant != null">
|
|
|
applicant,
|
|
|
</if>
|
|
|
+ <if test="applicantBuyerId != null">
|
|
|
+ applicant_buyer_id,
|
|
|
+ </if>
|
|
|
<if test="identityCard != null">
|
|
|
identity_card,
|
|
|
</if>
|
|
@@ -244,6 +248,9 @@
|
|
|
<if test="applicant != null">
|
|
|
#{applicant,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="applicantBuyerId != null">
|
|
|
+ #{applicantBuyerId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="identityCard != null">
|
|
|
#{identityCard,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -318,6 +325,9 @@
|
|
|
<if test="record.applicant != null">
|
|
|
applicant = #{record.applicant,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.applicantBuyerId != null">
|
|
|
+ applicant_buyer_id = #{record.applicantBuyerId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="record.identityCard != null">
|
|
|
identity_card = #{record.identityCard,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -376,6 +386,7 @@
|
|
|
customer_management_id = #{record.customerManagementId,jdbcType=VARCHAR},
|
|
|
approval_number = #{record.approvalNumber,jdbcType=VARCHAR},
|
|
|
applicant = #{record.applicant,jdbcType=VARCHAR},
|
|
|
+ applicant_buyer_id = #{record.applicantBuyerId,jdbcType=VARCHAR},
|
|
|
identity_card = #{record.identityCard,jdbcType=VARCHAR},
|
|
|
reason = #{record.reason,jdbcType=INTEGER},
|
|
|
buyer_name = #{record.buyerName,jdbcType=VARCHAR},
|
|
@@ -403,6 +414,7 @@
|
|
|
customer_management_id = #{record.customerManagementId,jdbcType=VARCHAR},
|
|
|
approval_number = #{record.approvalNumber,jdbcType=VARCHAR},
|
|
|
applicant = #{record.applicant,jdbcType=VARCHAR},
|
|
|
+ applicant_buyer_id = #{record.applicantBuyerId,jdbcType=VARCHAR},
|
|
|
identity_card = #{record.identityCard,jdbcType=VARCHAR},
|
|
|
reason = #{record.reason,jdbcType=INTEGER},
|
|
|
buyer_name = #{record.buyerName,jdbcType=VARCHAR},
|
|
@@ -438,6 +450,9 @@
|
|
|
<if test="applicant != null">
|
|
|
applicant = #{applicant,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="applicantBuyerId != null">
|
|
|
+ applicant_buyer_id = #{applicantBuyerId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="identityCard != null">
|
|
|
identity_card = #{identityCard,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -493,6 +508,7 @@
|
|
|
customer_management_id = #{customerManagementId,jdbcType=VARCHAR},
|
|
|
approval_number = #{approvalNumber,jdbcType=VARCHAR},
|
|
|
applicant = #{applicant,jdbcType=VARCHAR},
|
|
|
+ applicant_buyer_id = #{applicantBuyerId,jdbcType=VARCHAR},
|
|
|
identity_card = #{identityCard,jdbcType=VARCHAR},
|
|
|
reason = #{reason,jdbcType=INTEGER},
|
|
|
buyer_name = #{buyerName,jdbcType=VARCHAR},
|
|
@@ -517,6 +533,7 @@
|
|
|
customer_management_id = #{customerManagementId,jdbcType=VARCHAR},
|
|
|
approval_number = #{approvalNumber,jdbcType=VARCHAR},
|
|
|
applicant = #{applicant,jdbcType=VARCHAR},
|
|
|
+ applicant_buyer_id = #{applicantBuyerId,jdbcType=VARCHAR},
|
|
|
identity_card = #{identityCard,jdbcType=VARCHAR},
|
|
|
reason = #{reason,jdbcType=INTEGER},
|
|
|
buyer_name = #{buyerName,jdbcType=VARCHAR},
|