select id, user_id, type, dd_id, md_id,amount, divvy,state, illustrate, payment_method, account_number,balance_pay from user_billing insert into user_billing user_id, type, dd_id, amount, state, illustrate, payment_method, account_number, md_id, divvy, balance_pay, #{userId}, #{type}, #{ddId}, #{amount}, #{state}, #{illustrate}, #{paymentMethod}, #{accountNumber}, #{mdId}, #{divvy}, #{balancePay}, update user_billing user_id = #{userId}, type = #{type}, dd_id = #{ddId}, amount = #{amount}, state = #{state}, illustrate = #{illustrate}, payment_method = #{paymentMethod}, account_number = #{accountNumber}, md_id = #{mdId}, divvy = #{divvy}, balance_pay = #{balancePay}, where id = #{id} delete from user_billing where id = #{id} delete from user_billing where id in #{id}