select id, pay_id, pay_type, rec_type, pay_man, pay_man_code, settle_bill_no, bl_audit, audit_date, audit_man_code, audit_site_code, customer_code, customer_name, pay_money, pay_status, pay_status_desc, break_type, break_reason, break_emp_code, rec_man_code, settle_type, refund_date, refund_man_code, refund_seq, refund_mode, refund_money, refund_reason, refund_remark, refund_op_man_code, refund_register_site_code, refund_register_man_code, satisfy_money, satisfy_reason, allowance_money, allowance_reason, deduction_money, deduction_reason, other_money, other_reason, trade_date, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_settle_pay_record insert into emis_settle_pay_record id, pay_id, pay_type, rec_type, pay_man, pay_man_code, settle_bill_no, bl_audit, audit_date, audit_man_code, audit_site_code, customer_code, customer_name, pay_money, pay_status, pay_status_desc, break_type, break_reason, break_emp_code, rec_man_code, settle_type, refund_date, refund_man_code, refund_seq, refund_mode, refund_money, refund_reason, refund_remark, refund_op_man_code, refund_register_site_code, refund_register_man_code, satisfy_money, satisfy_reason, allowance_money, allowance_reason, deduction_money, deduction_reason, other_money, other_reason, trade_date, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site, #{id}, #{payId}, #{payType}, #{recType}, #{payMan}, #{payManCode}, #{settleBillNo}, #{blAudit}, #{auditDate}, #{auditManCode}, #{auditSiteCode}, #{customerCode}, #{customerName}, #{payMoney}, #{payStatus}, #{payStatusDesc}, #{breakType}, #{breakReason}, #{breakEmpCode}, #{recManCode}, #{settleType}, #{refundDate}, #{refundManCode}, #{refundSeq}, #{refundMode}, #{refundMoney}, #{refundReason}, #{refundRemark}, #{refundOpManCode}, #{refundRegisterSiteCode}, #{refundRegisterManCode}, #{satisfyMoney}, #{satisfyReason}, #{allowanceMoney}, #{allowanceReason}, #{deductionMoney}, #{deductionReason}, #{otherMoney}, #{otherReason}, #{tradeDate}, #{remark}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{createSite}, #{updateSite}, update emis_settle_pay_record pay_id = #{payId}, pay_type = #{payType}, rec_type = #{recType}, pay_man = #{payMan}, pay_man_code = #{payManCode}, settle_bill_no = #{settleBillNo}, bl_audit = #{blAudit}, audit_date = #{auditDate}, audit_man_code = #{auditManCode}, audit_site_code = #{auditSiteCode}, customer_code = #{customerCode}, customer_name = #{customerName}, pay_money = #{payMoney}, pay_status = #{payStatus}, pay_status_desc = #{payStatusDesc}, break_type = #{breakType}, break_reason = #{breakReason}, break_emp_code = #{breakEmpCode}, rec_man_code = #{recManCode}, settle_type = #{settleType}, refund_date = #{refundDate}, refund_man_code = #{refundManCode}, refund_seq = #{refundSeq}, refund_mode = #{refundMode}, refund_money = #{refundMoney}, refund_reason = #{refundReason}, refund_remark = #{refundRemark}, refund_op_man_code = #{refundOpManCode}, refund_register_site_code = #{refundRegisterSiteCode}, refund_register_man_code = #{refundRegisterManCode}, satisfy_money = #{satisfyMoney}, satisfy_reason = #{satisfyReason}, allowance_money = #{allowanceMoney}, allowance_reason = #{allowanceReason}, deduction_money = #{deductionMoney}, deduction_reason = #{deductionReason}, other_money = #{otherMoney}, other_reason = #{otherReason}, trade_date = #{tradeDate}, remark = #{remark}, del_flag = #{delFlag}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, create_site = #{createSite}, update_site = #{updateSite}, where id = #{id} delete from emis_settle_pay_record where id = #{id} delete from emis_settle_pay_record where id in #{id}