|
@@ -9,6 +9,7 @@
|
|
|
<result column="customer_management_id" jdbcType="VARCHAR" property="customerManagementId" />
|
|
|
<result column="pay_type" jdbcType="INTEGER" property="payType" />
|
|
|
<result column="content_type" jdbcType="INTEGER" property="contentType" />
|
|
|
+ <result column="house_name" jdbcType="VARCHAR" property="houseName" />
|
|
|
<result column="bank_name" jdbcType="VARCHAR" property="bankName" />
|
|
|
<result column="bank_branch_name" jdbcType="VARCHAR" property="bankBranchName" />
|
|
|
<result column="bank_number" jdbcType="CHAR" property="bankNumber" />
|
|
@@ -27,6 +28,9 @@
|
|
|
<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="is_convert" jdbcType="INTEGER" property="isConvert" />
|
|
|
+ <result column="convert_pay_log_id" jdbcType="VARCHAR" property="convertPayLogId" />
|
|
|
+ <result column="convert_business_id" jdbcType="VARCHAR" property="convertBusinessId" />
|
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.idea.paymentManagement.model.PayLog">
|
|
|
<result column="file_list" jdbcType="LONGVARCHAR" property="fileList" />
|
|
@@ -92,9 +96,10 @@
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
id, business_id, house_id, contract_id, customer_management_id, pay_type, content_type,
|
|
|
- bank_name, bank_branch_name, bank_number, pay_money, pay_time, payment_method, status,
|
|
|
- payment_status, serial_number, remark, created_by, created_at, updated_by, updated_at,
|
|
|
- nc_submit_status, nc_submit_date, nc_submit_name, is_hide
|
|
|
+ house_name, bank_name, bank_branch_name, bank_number, pay_money, pay_time, payment_method,
|
|
|
+ status, payment_status, serial_number, remark, created_by, created_at, updated_by,
|
|
|
+ updated_at, nc_submit_status, nc_submit_date, nc_submit_name, is_hide, is_convert,
|
|
|
+ convert_pay_log_id, convert_business_id
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
file_list, nc_json
|
|
@@ -150,24 +155,26 @@
|
|
|
<insert id="insert" parameterType="com.idea.paymentManagement.model.PayLog">
|
|
|
insert into pay_log (id, business_id, house_id,
|
|
|
contract_id, customer_management_id, pay_type,
|
|
|
- content_type, bank_name, bank_branch_name,
|
|
|
- bank_number, pay_money, pay_time,
|
|
|
- payment_method, status, payment_status,
|
|
|
- serial_number, remark, created_by,
|
|
|
- created_at, updated_by, updated_at,
|
|
|
- nc_submit_status, nc_submit_date, nc_submit_name,
|
|
|
- is_hide, file_list, nc_json
|
|
|
- )
|
|
|
+ content_type, house_name, bank_name,
|
|
|
+ bank_branch_name, bank_number, pay_money,
|
|
|
+ pay_time, payment_method, status,
|
|
|
+ payment_status, serial_number, remark,
|
|
|
+ created_by, created_at, updated_by,
|
|
|
+ updated_at, nc_submit_status, nc_submit_date,
|
|
|
+ nc_submit_name, is_hide, is_convert,
|
|
|
+ convert_pay_log_id, convert_business_id, file_list,
|
|
|
+ nc_json)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{businessId,jdbcType=VARCHAR}, #{houseId,jdbcType=VARCHAR},
|
|
|
#{contractId,jdbcType=VARCHAR}, #{customerManagementId,jdbcType=VARCHAR}, #{payType,jdbcType=INTEGER},
|
|
|
- #{contentType,jdbcType=INTEGER}, #{bankName,jdbcType=VARCHAR}, #{bankBranchName,jdbcType=VARCHAR},
|
|
|
- #{bankNumber,jdbcType=CHAR}, #{payMoney,jdbcType=DECIMAL}, #{payTime,jdbcType=TIMESTAMP},
|
|
|
- #{paymentMethod,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{paymentStatus,jdbcType=INTEGER},
|
|
|
- #{serialNumber,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{createdBy,jdbcType=VARCHAR},
|
|
|
- #{createdAt,jdbcType=TIMESTAMP}, #{updatedBy,jdbcType=VARCHAR}, #{updatedAt,jdbcType=TIMESTAMP},
|
|
|
- #{ncSubmitStatus,jdbcType=INTEGER}, #{ncSubmitDate,jdbcType=TIMESTAMP}, #{ncSubmitName,jdbcType=VARCHAR},
|
|
|
- #{isHide,jdbcType=INTEGER}, #{fileList,jdbcType=LONGVARCHAR}, #{ncJson,jdbcType=LONGVARCHAR}
|
|
|
- )
|
|
|
+ #{contentType,jdbcType=INTEGER}, #{houseName,jdbcType=VARCHAR}, #{bankName,jdbcType=VARCHAR},
|
|
|
+ #{bankBranchName,jdbcType=VARCHAR}, #{bankNumber,jdbcType=CHAR}, #{payMoney,jdbcType=DECIMAL},
|
|
|
+ #{payTime,jdbcType=TIMESTAMP}, #{paymentMethod,jdbcType=INTEGER}, #{status,jdbcType=INTEGER},
|
|
|
+ #{paymentStatus,jdbcType=INTEGER}, #{serialNumber,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR},
|
|
|
+ #{createdBy,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedBy,jdbcType=VARCHAR},
|
|
|
+ #{updatedAt,jdbcType=TIMESTAMP}, #{ncSubmitStatus,jdbcType=INTEGER}, #{ncSubmitDate,jdbcType=TIMESTAMP},
|
|
|
+ #{ncSubmitName,jdbcType=VARCHAR}, #{isHide,jdbcType=INTEGER}, #{isConvert,jdbcType=INTEGER},
|
|
|
+ #{convertPayLogId,jdbcType=VARCHAR}, #{convertBusinessId,jdbcType=VARCHAR}, #{fileList,jdbcType=LONGVARCHAR},
|
|
|
+ #{ncJson,jdbcType=LONGVARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.idea.paymentManagement.model.PayLog">
|
|
|
insert into pay_log
|
|
@@ -193,6 +200,9 @@
|
|
|
<if test="contentType != null">
|
|
|
content_type,
|
|
|
</if>
|
|
|
+ <if test="houseName != null">
|
|
|
+ house_name,
|
|
|
+ </if>
|
|
|
<if test="bankName != null">
|
|
|
bank_name,
|
|
|
</if>
|
|
@@ -247,6 +257,15 @@
|
|
|
<if test="isHide != null">
|
|
|
is_hide,
|
|
|
</if>
|
|
|
+ <if test="isConvert != null">
|
|
|
+ is_convert,
|
|
|
+ </if>
|
|
|
+ <if test="convertPayLogId != null">
|
|
|
+ convert_pay_log_id,
|
|
|
+ </if>
|
|
|
+ <if test="convertBusinessId != null">
|
|
|
+ convert_business_id,
|
|
|
+ </if>
|
|
|
<if test="fileList != null">
|
|
|
file_list,
|
|
|
</if>
|
|
@@ -276,6 +295,9 @@
|
|
|
<if test="contentType != null">
|
|
|
#{contentType,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="houseName != null">
|
|
|
+ #{houseName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="bankName != null">
|
|
|
#{bankName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -330,6 +352,15 @@
|
|
|
<if test="isHide != null">
|
|
|
#{isHide,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="isConvert != null">
|
|
|
+ #{isConvert,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="convertPayLogId != null">
|
|
|
+ #{convertPayLogId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="convertBusinessId != null">
|
|
|
+ #{convertBusinessId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="fileList != null">
|
|
|
#{fileList,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -368,6 +399,9 @@
|
|
|
<if test="record.contentType != null">
|
|
|
content_type = #{record.contentType,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="record.houseName != null">
|
|
|
+ house_name = #{record.houseName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="record.bankName != null">
|
|
|
bank_name = #{record.bankName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -422,6 +456,15 @@
|
|
|
<if test="record.isHide != null">
|
|
|
is_hide = #{record.isHide,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="record.isConvert != null">
|
|
|
+ is_convert = #{record.isConvert,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.convertPayLogId != null">
|
|
|
+ convert_pay_log_id = #{record.convertPayLogId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.convertBusinessId != null">
|
|
|
+ convert_business_id = #{record.convertBusinessId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="record.fileList != null">
|
|
|
file_list = #{record.fileList,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -442,6 +485,7 @@
|
|
|
customer_management_id = #{record.customerManagementId,jdbcType=VARCHAR},
|
|
|
pay_type = #{record.payType,jdbcType=INTEGER},
|
|
|
content_type = #{record.contentType,jdbcType=INTEGER},
|
|
|
+ house_name = #{record.houseName,jdbcType=VARCHAR},
|
|
|
bank_name = #{record.bankName,jdbcType=VARCHAR},
|
|
|
bank_branch_name = #{record.bankBranchName,jdbcType=VARCHAR},
|
|
|
bank_number = #{record.bankNumber,jdbcType=CHAR},
|
|
@@ -460,6 +504,9 @@
|
|
|
nc_submit_date = #{record.ncSubmitDate,jdbcType=TIMESTAMP},
|
|
|
nc_submit_name = #{record.ncSubmitName,jdbcType=VARCHAR},
|
|
|
is_hide = #{record.isHide,jdbcType=INTEGER},
|
|
|
+ is_convert = #{record.isConvert,jdbcType=INTEGER},
|
|
|
+ convert_pay_log_id = #{record.convertPayLogId,jdbcType=VARCHAR},
|
|
|
+ convert_business_id = #{record.convertBusinessId,jdbcType=VARCHAR},
|
|
|
file_list = #{record.fileList,jdbcType=LONGVARCHAR},
|
|
|
nc_json = #{record.ncJson,jdbcType=LONGVARCHAR}
|
|
|
<if test="_parameter != null">
|
|
@@ -475,6 +522,7 @@
|
|
|
customer_management_id = #{record.customerManagementId,jdbcType=VARCHAR},
|
|
|
pay_type = #{record.payType,jdbcType=INTEGER},
|
|
|
content_type = #{record.contentType,jdbcType=INTEGER},
|
|
|
+ house_name = #{record.houseName,jdbcType=VARCHAR},
|
|
|
bank_name = #{record.bankName,jdbcType=VARCHAR},
|
|
|
bank_branch_name = #{record.bankBranchName,jdbcType=VARCHAR},
|
|
|
bank_number = #{record.bankNumber,jdbcType=CHAR},
|
|
@@ -492,7 +540,10 @@
|
|
|
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},
|
|
|
+ is_convert = #{record.isConvert,jdbcType=INTEGER},
|
|
|
+ convert_pay_log_id = #{record.convertPayLogId,jdbcType=VARCHAR},
|
|
|
+ convert_business_id = #{record.convertBusinessId,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -518,6 +569,9 @@
|
|
|
<if test="contentType != null">
|
|
|
content_type = #{contentType,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="houseName != null">
|
|
|
+ house_name = #{houseName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="bankName != null">
|
|
|
bank_name = #{bankName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -572,6 +626,15 @@
|
|
|
<if test="isHide != null">
|
|
|
is_hide = #{isHide,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="isConvert != null">
|
|
|
+ is_convert = #{isConvert,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="convertPayLogId != null">
|
|
|
+ convert_pay_log_id = #{convertPayLogId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="convertBusinessId != null">
|
|
|
+ convert_business_id = #{convertBusinessId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="fileList != null">
|
|
|
file_list = #{fileList,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -589,6 +652,7 @@
|
|
|
customer_management_id = #{customerManagementId,jdbcType=VARCHAR},
|
|
|
pay_type = #{payType,jdbcType=INTEGER},
|
|
|
content_type = #{contentType,jdbcType=INTEGER},
|
|
|
+ house_name = #{houseName,jdbcType=VARCHAR},
|
|
|
bank_name = #{bankName,jdbcType=VARCHAR},
|
|
|
bank_branch_name = #{bankBranchName,jdbcType=VARCHAR},
|
|
|
bank_number = #{bankNumber,jdbcType=CHAR},
|
|
@@ -607,6 +671,9 @@
|
|
|
nc_submit_date = #{ncSubmitDate,jdbcType=TIMESTAMP},
|
|
|
nc_submit_name = #{ncSubmitName,jdbcType=VARCHAR},
|
|
|
is_hide = #{isHide,jdbcType=INTEGER},
|
|
|
+ is_convert = #{isConvert,jdbcType=INTEGER},
|
|
|
+ convert_pay_log_id = #{convertPayLogId,jdbcType=VARCHAR},
|
|
|
+ convert_business_id = #{convertBusinessId,jdbcType=VARCHAR},
|
|
|
file_list = #{fileList,jdbcType=LONGVARCHAR},
|
|
|
nc_json = #{ncJson,jdbcType=LONGVARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
@@ -619,6 +686,7 @@
|
|
|
customer_management_id = #{customerManagementId,jdbcType=VARCHAR},
|
|
|
pay_type = #{payType,jdbcType=INTEGER},
|
|
|
content_type = #{contentType,jdbcType=INTEGER},
|
|
|
+ house_name = #{houseName,jdbcType=VARCHAR},
|
|
|
bank_name = #{bankName,jdbcType=VARCHAR},
|
|
|
bank_branch_name = #{bankBranchName,jdbcType=VARCHAR},
|
|
|
bank_number = #{bankNumber,jdbcType=CHAR},
|
|
@@ -636,7 +704,10 @@
|
|
|
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},
|
|
|
+ is_convert = #{isConvert,jdbcType=INTEGER},
|
|
|
+ convert_pay_log_id = #{convertPayLogId,jdbcType=VARCHAR},
|
|
|
+ convert_business_id = #{convertBusinessId,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|