id, member_id, `type`, sub_type, amount, category, related_order_code, create_by,
create_time
delete from member_wallet_log
where id = #{id,jdbcType=INTEGER}
insert into member_wallet_log (member_id, `type`, sub_type,
amount, category, related_order_code,
create_by, create_time)
values (#{memberId,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{subType,jdbcType=VARCHAR},
#{amount,jdbcType=DECIMAL}, #{category,jdbcType=CHAR}, #{relatedOrderCode,jdbcType=VARCHAR},
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP})
insert into member_wallet_log
member_id,
`type`,
sub_type,
amount,
category,
related_order_code,
create_by,
create_time,
#{memberId,jdbcType=VARCHAR},
#{type,jdbcType=VARCHAR},
#{subType,jdbcType=VARCHAR},
#{amount,jdbcType=DECIMAL},
#{category,jdbcType=CHAR},
#{relatedOrderCode,jdbcType=VARCHAR},
#{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
update member_wallet_log
member_id = #{memberId,jdbcType=VARCHAR},
`type` = #{type,jdbcType=VARCHAR},
sub_type = #{subType,jdbcType=VARCHAR},
amount = #{amount,jdbcType=DECIMAL},
category = #{category,jdbcType=CHAR},
related_order_code = #{relatedOrderCode,jdbcType=VARCHAR},
create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=INTEGER}
update member_wallet_log
set member_id = #{memberId,jdbcType=VARCHAR},
`type` = #{type,jdbcType=VARCHAR},
sub_type = #{subType,jdbcType=VARCHAR},
amount = #{amount,jdbcType=DECIMAL},
category = #{category,jdbcType=CHAR},
related_order_code = #{relatedOrderCode,jdbcType=VARCHAR},
create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}
insert into member_wallet_log (member_id, `type`,
sub_type, amount, category, related_order_code, create_by)
values
(#{item.memberId,jdbcType=VARCHAR}, #{item.type,jdbcType=VARCHAR}, #{item.subType,jdbcType=VARCHAR},
#{item.amount,jdbcType=DECIMAL}, #{item.category,jdbcType=CHAR}, #{item.relatedOrderCode,jdbcType=VARCHAR},
#{item.createBy,jdbcType=VARCHAR})