|
@@ -16,6 +16,7 @@
|
|
|
<result column="payment_method" jdbcType="INTEGER" property="paymentMethod" />
|
|
|
<result column="status" jdbcType="INTEGER" property="status" />
|
|
|
<result column="payment_status" jdbcType="INTEGER" property="paymentStatus" />
|
|
|
+ <result column="serial_number" jdbcType="VARCHAR" property="serialNumber" />
|
|
|
<result column="remark" jdbcType="VARCHAR" property="remark" />
|
|
|
<result column="created_by" jdbcType="VARCHAR" property="createdBy" />
|
|
|
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" />
|
|
@@ -86,7 +87,7 @@
|
|
|
<sql id="Base_Column_List">
|
|
|
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,
|
|
|
- remark, created_by, created_at, updated_by, updated_at
|
|
|
+ serial_number, remark, created_by, created_at, updated_by, updated_at
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
file_list
|
|
@@ -144,16 +145,18 @@
|
|
|
customer_management_id, pay_type, content_type,
|
|
|
bank_name, bank_branch_name, bank_number,
|
|
|
pay_money, pay_time, payment_method,
|
|
|
- status, payment_status, remark,
|
|
|
- created_by, created_at, updated_by,
|
|
|
- updated_at, file_list)
|
|
|
+ status, payment_status, serial_number,
|
|
|
+ remark, created_by, created_at,
|
|
|
+ updated_by, updated_at, file_list
|
|
|
+ )
|
|
|
values (#{id,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}, #{remark,jdbcType=VARCHAR},
|
|
|
- #{createdBy,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedBy,jdbcType=VARCHAR},
|
|
|
- #{updatedAt,jdbcType=TIMESTAMP}, #{fileList,jdbcType=LONGVARCHAR})
|
|
|
+ #{status,jdbcType=INTEGER}, #{paymentStatus,jdbcType=INTEGER}, #{serialNumber,jdbcType=VARCHAR},
|
|
|
+ #{remark,jdbcType=VARCHAR}, #{createdBy,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP},
|
|
|
+ #{updatedBy,jdbcType=VARCHAR}, #{updatedAt,jdbcType=TIMESTAMP}, #{fileList,jdbcType=LONGVARCHAR}
|
|
|
+ )
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.idea.paymentManagement.model.PayLog">
|
|
|
insert into pay_log
|
|
@@ -200,6 +203,9 @@
|
|
|
<if test="paymentStatus != null">
|
|
|
payment_status,
|
|
|
</if>
|
|
|
+ <if test="serialNumber != null">
|
|
|
+ serial_number,
|
|
|
+ </if>
|
|
|
<if test="remark != null">
|
|
|
remark,
|
|
|
</if>
|
|
@@ -262,6 +268,9 @@
|
|
|
<if test="paymentStatus != null">
|
|
|
#{paymentStatus,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="serialNumber != null">
|
|
|
+ #{serialNumber,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="remark != null">
|
|
|
#{remark,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -333,6 +342,9 @@
|
|
|
<if test="record.paymentStatus != null">
|
|
|
payment_status = #{record.paymentStatus,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="record.serialNumber != null">
|
|
|
+ serial_number = #{record.serialNumber,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="record.remark != null">
|
|
|
remark = #{record.remark,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -372,6 +384,7 @@
|
|
|
payment_method = #{record.paymentMethod,jdbcType=INTEGER},
|
|
|
status = #{record.status,jdbcType=INTEGER},
|
|
|
payment_status = #{record.paymentStatus,jdbcType=INTEGER},
|
|
|
+ serial_number = #{record.serialNumber,jdbcType=VARCHAR},
|
|
|
remark = #{record.remark,jdbcType=VARCHAR},
|
|
|
created_by = #{record.createdBy,jdbcType=VARCHAR},
|
|
|
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
|
|
@@ -398,6 +411,7 @@
|
|
|
payment_method = #{record.paymentMethod,jdbcType=INTEGER},
|
|
|
status = #{record.status,jdbcType=INTEGER},
|
|
|
payment_status = #{record.paymentStatus,jdbcType=INTEGER},
|
|
|
+ serial_number = #{record.serialNumber,jdbcType=VARCHAR},
|
|
|
remark = #{record.remark,jdbcType=VARCHAR},
|
|
|
created_by = #{record.createdBy,jdbcType=VARCHAR},
|
|
|
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
|
|
@@ -449,6 +463,9 @@
|
|
|
<if test="paymentStatus != null">
|
|
|
payment_status = #{paymentStatus,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="serialNumber != null">
|
|
|
+ serial_number = #{serialNumber,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="remark != null">
|
|
|
remark = #{remark,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -485,6 +502,7 @@
|
|
|
payment_method = #{paymentMethod,jdbcType=INTEGER},
|
|
|
status = #{status,jdbcType=INTEGER},
|
|
|
payment_status = #{paymentStatus,jdbcType=INTEGER},
|
|
|
+ serial_number = #{serialNumber,jdbcType=VARCHAR},
|
|
|
remark = #{remark,jdbcType=VARCHAR},
|
|
|
created_by = #{createdBy,jdbcType=VARCHAR},
|
|
|
created_at = #{createdAt,jdbcType=TIMESTAMP},
|
|
@@ -508,6 +526,7 @@
|
|
|
payment_method = #{paymentMethod,jdbcType=INTEGER},
|
|
|
status = #{status,jdbcType=INTEGER},
|
|
|
payment_status = #{paymentStatus,jdbcType=INTEGER},
|
|
|
+ serial_number = #{serialNumber,jdbcType=VARCHAR},
|
|
|
remark = #{remark,jdbcType=VARCHAR},
|
|
|
created_by = #{createdBy,jdbcType=VARCHAR},
|
|
|
created_at = #{createdAt,jdbcType=TIMESTAMP},
|