INSERT INTO xhpc_user_account_statement
user_id,
amount,
remaining_sum,
charge_order_id,
recharge_order_id,
refund_order_id,
type,
status,
del_flag,
create_time,
create_by,
update_time,
update_by,
remark,
source,
tenant_id
#{userId},
#{amount},
#{remainingSum},
#{chargeOrderId},
#{rechargeOrderId},
#{refundOrderId},
#{type},
#{status},
#{delFlag},
#{createTime},
#{createBy},
#{updateTime},
#{updateBy},
#{remark},
#{source},
#{tenantId},
UPDATE xhpc_app_user
balance = #{balance},
is_refund_application = #{isRefundApplication}
WHERE app_user_id = #{appUserId}
UPDATE xhpc_app_user
is_refund_application = #{isRefundApplication},
WHERE app_user_id = #{appUserId}