|
@@ -17,6 +17,8 @@
|
|
|
<result column="nc_submit_date" jdbcType="TIMESTAMP" property="ncSubmitDate" />
|
|
|
<result column="nc_submit_name" jdbcType="VARCHAR" property="ncSubmitName" />
|
|
|
<result column="is_hide" jdbcType="INTEGER" property="isHide" />
|
|
|
+ <result column="pay_log_id" jdbcType="VARCHAR" property="payLogId" />
|
|
|
+ <result column="serial_number" jdbcType="VARCHAR" property="serialNumber" />
|
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.idea.paymentManagement.model.RefundDetail">
|
|
|
<result column="nc_json" jdbcType="LONGVARCHAR" property="ncJson" />
|
|
@@ -82,7 +84,7 @@
|
|
|
<sql id="Base_Column_List">
|
|
|
id, refund_manage_id, type, content_type, received_amount, deductible, actual_refund_amount,
|
|
|
created_id, created_at, updated_at, updated_id, nc_submit_status, nc_submit_date,
|
|
|
- nc_submit_name, is_hide
|
|
|
+ nc_submit_name, is_hide, pay_log_id, serial_number
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
nc_json
|
|
@@ -141,13 +143,15 @@
|
|
|
actual_refund_amount, created_id, created_at,
|
|
|
updated_at, updated_id, nc_submit_status,
|
|
|
nc_submit_date, nc_submit_name, is_hide,
|
|
|
- nc_json)
|
|
|
+ pay_log_id, serial_number, nc_json
|
|
|
+ )
|
|
|
values (#{id,jdbcType=VARCHAR}, #{refundManageId,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR},
|
|
|
#{contentType,jdbcType=INTEGER}, #{receivedAmount,jdbcType=DECIMAL}, #{deductible,jdbcType=DECIMAL},
|
|
|
#{actualRefundAmount,jdbcType=DECIMAL}, #{createdId,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP},
|
|
|
#{updatedAt,jdbcType=TIMESTAMP}, #{updatedId,jdbcType=VARCHAR}, #{ncSubmitStatus,jdbcType=INTEGER},
|
|
|
#{ncSubmitDate,jdbcType=TIMESTAMP}, #{ncSubmitName,jdbcType=VARCHAR}, #{isHide,jdbcType=INTEGER},
|
|
|
- #{ncJson,jdbcType=LONGVARCHAR})
|
|
|
+ #{payLogId,jdbcType=VARCHAR}, #{serialNumber,jdbcType=VARCHAR}, #{ncJson,jdbcType=LONGVARCHAR}
|
|
|
+ )
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.idea.paymentManagement.model.RefundDetail">
|
|
|
insert into refund_detail
|
|
@@ -197,6 +201,12 @@
|
|
|
<if test="isHide != null">
|
|
|
is_hide,
|
|
|
</if>
|
|
|
+ <if test="payLogId != null">
|
|
|
+ pay_log_id,
|
|
|
+ </if>
|
|
|
+ <if test="serialNumber != null">
|
|
|
+ serial_number,
|
|
|
+ </if>
|
|
|
<if test="ncJson != null">
|
|
|
nc_json,
|
|
|
</if>
|
|
@@ -247,6 +257,12 @@
|
|
|
<if test="isHide != null">
|
|
|
#{isHide,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="payLogId != null">
|
|
|
+ #{payLogId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="serialNumber != null">
|
|
|
+ #{serialNumber,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="ncJson != null">
|
|
|
#{ncJson,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -306,6 +322,12 @@
|
|
|
<if test="record.isHide != null">
|
|
|
is_hide = #{record.isHide,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="record.payLogId != null">
|
|
|
+ pay_log_id = #{record.payLogId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.serialNumber != null">
|
|
|
+ serial_number = #{record.serialNumber,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="record.ncJson != null">
|
|
|
nc_json = #{record.ncJson,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -331,6 +353,8 @@
|
|
|
nc_submit_date = #{record.ncSubmitDate,jdbcType=TIMESTAMP},
|
|
|
nc_submit_name = #{record.ncSubmitName,jdbcType=VARCHAR},
|
|
|
is_hide = #{record.isHide,jdbcType=INTEGER},
|
|
|
+ pay_log_id = #{record.payLogId,jdbcType=VARCHAR},
|
|
|
+ serial_number = #{record.serialNumber,jdbcType=VARCHAR},
|
|
|
nc_json = #{record.ncJson,jdbcType=LONGVARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -352,7 +376,9 @@
|
|
|
nc_submit_status = #{record.ncSubmitStatus,jdbcType=INTEGER},
|
|
|
nc_submit_date = #{record.ncSubmitDate,jdbcType=TIMESTAMP},
|
|
|
nc_submit_name = #{record.ncSubmitName,jdbcType=VARCHAR},
|
|
|
- is_hide = #{record.isHide,jdbcType=INTEGER}
|
|
|
+ is_hide = #{record.isHide,jdbcType=INTEGER},
|
|
|
+ pay_log_id = #{record.payLogId,jdbcType=VARCHAR},
|
|
|
+ serial_number = #{record.serialNumber,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -402,6 +428,12 @@
|
|
|
<if test="isHide != null">
|
|
|
is_hide = #{isHide,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="payLogId != null">
|
|
|
+ pay_log_id = #{payLogId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="serialNumber != null">
|
|
|
+ serial_number = #{serialNumber,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="ncJson != null">
|
|
|
nc_json = #{ncJson,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -424,6 +456,8 @@
|
|
|
nc_submit_date = #{ncSubmitDate,jdbcType=TIMESTAMP},
|
|
|
nc_submit_name = #{ncSubmitName,jdbcType=VARCHAR},
|
|
|
is_hide = #{isHide,jdbcType=INTEGER},
|
|
|
+ pay_log_id = #{payLogId,jdbcType=VARCHAR},
|
|
|
+ serial_number = #{serialNumber,jdbcType=VARCHAR},
|
|
|
nc_json = #{ncJson,jdbcType=LONGVARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
@@ -442,7 +476,9 @@
|
|
|
nc_submit_status = #{ncSubmitStatus,jdbcType=INTEGER},
|
|
|
nc_submit_date = #{ncSubmitDate,jdbcType=TIMESTAMP},
|
|
|
nc_submit_name = #{ncSubmitName,jdbcType=VARCHAR},
|
|
|
- is_hide = #{isHide,jdbcType=INTEGER}
|
|
|
+ is_hide = #{isHide,jdbcType=INTEGER},
|
|
|
+ pay_log_id = #{payLogId,jdbcType=VARCHAR},
|
|
|
+ serial_number = #{serialNumber,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|