select id, cust_no, customer_code, apply_seq, apply_date, apply_name, audit_date, audit_status, audit_reson, audit_by, msg_code, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_monthpay_use_apply insert into emis_monthpay_use_apply id, cust_no, customer_code, apply_seq, apply_date, apply_name, audit_date, audit_status, audit_reson, audit_by, msg_code, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site, #{id}, #{custNo}, #{customerCode}, #{applySeq}, #{applyDate}, #{applyName}, #{auditDate}, #{auditStatus}, #{auditReson}, #{auditBy}, #{msgCode}, #{remark}, #{tenantId}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{createSite}, #{updateSite}, update emis_monthpay_use_apply cust_no = #{custNo}, customer_code = #{customerCode}, apply_seq = #{applySeq}, apply_date = #{applyDate}, apply_name = #{applyName}, audit_date = #{auditDate}, audit_status = #{auditStatus}, audit_reson = #{auditReson}, audit_by = #{auditBy}, msg_code = #{msgCode}, remark = #{remark}, tenant_id = #{tenantId}, 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_monthpay_use_apply where id = #{id} delete from emis_monthpay_use_apply where id in #{id}