select id, user_id, exam_registration_id, payment_title, transaction_no, pay_price, pay_type, pay_channel, wechat_trade_state, alipay_trade_state, pay_notify_content, pay_time, payment_merchant_type, del_flag, create_by, create_time, update_by, update_time from payment_info insert into payment_info user_id, exam_registration_id, payment_title, transaction_no, pay_price, pay_type, pay_channel, wechat_trade_state, alipay_trade_state, pay_notify_content, pay_time, payment_merchant_type, del_flag, create_by, create_time, update_by, update_time, #{userId}, #{examRegistrationId}, #{paymentTitle}, #{transactionNo}, #{payPrice}, #{payType}, #{payChannel}, #{wechatTradeState}, #{alipayTradeState}, #{payNotifyContent}, #{payTime}, #{paymentMerchantType}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update payment_info user_id = #{userId}, exam_registration_id = #{examRegistrationId}, payment_title = #{paymentTitle}, transaction_no = #{transactionNo}, pay_price = #{payPrice}, pay_type = #{payType}, pay_channel = #{payChannel}, wechat_trade_state = #{wechatTradeState}, alipay_trade_state = #{alipayTradeState}, pay_notify_content = #{payNotifyContent}, pay_time = #{payTime}, payment_merchant_type = #{paymentMerchantType}, del_flag = #{delFlag}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where id = #{id} delete from payment_info where id = #{id} delete from payment_info where id in #{id}