id, pay_type, shop_id, order_id, open_id, user_id, transaction_id, amount, status,
remark, attach, expired_at, created_at, updated_at
delete from tb_renewals_pay_log
where id = #{id,jdbcType=INTEGER}
insert into tb_renewals_pay_log (id, pay_type, shop_id,
order_id, open_id, user_id,
transaction_id, amount, status,
remark, attach, expired_at,
created_at, updated_at)
values (#{id,jdbcType=INTEGER}, #{payType,jdbcType=VARCHAR}, #{shopId,jdbcType=VARCHAR},
#{orderId,jdbcType=VARCHAR}, #{openId,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR},
#{transactionId,jdbcType=VARCHAR}, #{amount,jdbcType=DECIMAL}, #{status,jdbcType=TINYINT},
#{remark,jdbcType=VARCHAR}, #{attach,jdbcType=VARCHAR}, #{expiredAt,jdbcType=BIGINT},
#{createdAt,jdbcType=BIGINT}, #{updatedAt,jdbcType=BIGINT})
insert into tb_renewals_pay_log
id,
pay_type,
shop_id,
order_id,
open_id,
user_id,
transaction_id,
amount,
status,
remark,
attach,
expired_at,
created_at,
updated_at,
#{id,jdbcType=INTEGER},
#{payType,jdbcType=VARCHAR},
#{shopId,jdbcType=VARCHAR},
#{orderId,jdbcType=VARCHAR},
#{openId,jdbcType=VARCHAR},
#{userId,jdbcType=VARCHAR},
#{transactionId,jdbcType=VARCHAR},
#{amount,jdbcType=DECIMAL},
#{status,jdbcType=TINYINT},
#{remark,jdbcType=VARCHAR},
#{attach,jdbcType=VARCHAR},
#{expiredAt,jdbcType=BIGINT},
#{createdAt,jdbcType=BIGINT},
#{updatedAt,jdbcType=BIGINT},
update tb_renewals_pay_log
pay_type = #{payType,jdbcType=VARCHAR},
shop_id = #{shopId,jdbcType=VARCHAR},
order_id = #{orderId,jdbcType=VARCHAR},
open_id = #{openId,jdbcType=VARCHAR},
user_id = #{userId,jdbcType=VARCHAR},
transaction_id = #{transactionId,jdbcType=VARCHAR},
amount = #{amount,jdbcType=DECIMAL},
status = #{status,jdbcType=TINYINT},
remark = #{remark,jdbcType=VARCHAR},
attach = #{attach,jdbcType=VARCHAR},
expired_at = #{expiredAt,jdbcType=BIGINT},
created_at = #{createdAt,jdbcType=BIGINT},
updated_at = #{updatedAt,jdbcType=BIGINT},
where id = #{id,jdbcType=INTEGER}
update tb_renewals_pay_log
set pay_type = #{payType,jdbcType=VARCHAR},
shop_id = #{shopId,jdbcType=VARCHAR},
order_id = #{orderId,jdbcType=VARCHAR},
open_id = #{openId,jdbcType=VARCHAR},
user_id = #{userId,jdbcType=VARCHAR},
transaction_id = #{transactionId,jdbcType=VARCHAR},
amount = #{amount,jdbcType=DECIMAL},
status = #{status,jdbcType=TINYINT},
remark = #{remark,jdbcType=VARCHAR},
attach = #{attach,jdbcType=VARCHAR},
expired_at = #{expiredAt,jdbcType=BIGINT},
created_at = #{createdAt,jdbcType=BIGINT},
updated_at = #{updatedAt,jdbcType=BIGINT}
where id = #{id,jdbcType=INTEGER}