id, uid, serial_number, create_time, accept_time, principal, contact, copyright_info, copyright_name, status, work_issue, comment, outsource, in_urgent, authorized_date, certificate_url, application_url, delete_sign, copyright_number, founder, contract_id delete from copyright_info where id = #{id,jdbcType=VARCHAR} insert into copyright_info (id, uid, serial_number, create_time, accept_time, principal, contact, copyright_info, copyright_name, status, work_issue, comment, outsource, in_urgent, authorized_date, certificate_url, copyright_number, application_url, delete_sign, founder, contract_id ) values (#{id,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{serialNumber,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{acceptTime,jdbcType=TIMESTAMP}, #{principal,jdbcType=VARCHAR}, #{contact,jdbcType=INTEGER}, #{copyrightInfo,jdbcType=VARCHAR}, #{copyrightName,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{workIssue,jdbcType=VARCHAR}, #{comment,jdbcType=VARCHAR}, #{outsource,jdbcType=VARCHAR}, #{inUrgent,jdbcType=INTEGER}, #{authorizedDate,jdbcType=TIMESTAMP}, #{certificateUrl,jdbcType=VARCHAR}, #{copyrightNumber,jdbcType=VARCHAR}, #{applicationUrl,jdbcType=VARCHAR}, #{deleteSign,jdbcType=INTEGER}, #{founder,jdbcType=VARCHAR}, #{contractId,jdbcType=VARCHAR} ) insert into copyright_info id, uid, serial_number, create_time, accept_time, principal, contact, copyright_info, copyright_name, status, work_issue, comment, outsource, in_urgent, authorized_date, certificate_url, copyright_number, application_url, delete_sign, founder, contract_id, #{id,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{serialNumber,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{acceptTime,jdbcType=TIMESTAMP}, #{principal,jdbcType=VARCHAR}, #{contact,jdbcType=INTEGER}, #{copyrightInfo,jdbcType=VARCHAR}, #{copyrightName,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{workIssue,jdbcType=VARCHAR}, #{comment,jdbcType=VARCHAR}, #{outsource,jdbcType=VARCHAR}, #{inUrgent,jdbcType=INTEGER}, #{authorizedDate,jdbcType=TIMESTAMP}, #{certificateUrl,jdbcType=VARCHAR}, #{copyrightNumber,jdbcType=VARCHAR}, #{applicationUrl,jdbcType=VARCHAR}, #{deleteSign,jdbcType=INTEGER}, #{founder,jdbcType=VARCHAR}, #{contractId,jdbcType=VARCHAR}, update copyright_info uid = #{uid,jdbcType=VARCHAR}, serial_number = #{serialNumber,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, accept_time = #{acceptTime,jdbcType=TIMESTAMP}, principal = #{principal,jdbcType=VARCHAR}, contact = #{contact,jdbcType=INTEGER}, copyright_info = #{copyrightInfo,jdbcType=VARCHAR}, copyright_name = #{copyrightName,jdbcType=VARCHAR}, status = #{status,jdbcType=INTEGER}, work_issue = #{workIssue,jdbcType=VARCHAR}, comment = #{comment,jdbcType=VARCHAR}, outsource = #{outsource,jdbcType=VARCHAR}, in_urgent = #{inUrgent,jdbcType=INTEGER}, authorized_date = #{authorizedDate,jdbcType=TIMESTAMP}, certificate_url = #{certificateUrl,jdbcType=VARCHAR}, copyright_number = #{copyrightNumber,jdbcType=VARCHAR}, application_url = #{applicationUrl,jdbcType=VARCHAR}, delete_sign = #{deleteSign,jdbcType=INTEGER}, founder = #{founder,jdbcType=VARCHAR}, contract_id = #{contractId,jdbcType=VARCHAR}, where id = #{id,jdbcType=VARCHAR} update copyright_info set uid = #{uid,jdbcType=VARCHAR}, serial_number = #{serialNumber,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, accept_time = #{acceptTime,jdbcType=TIMESTAMP}, principal = #{principal,jdbcType=VARCHAR}, contact = #{contact,jdbcType=INTEGER}, copyright_info = #{copyrightInfo,jdbcType=VARCHAR}, copyright_name = #{copyrightName,jdbcType=VARCHAR}, status = #{status,jdbcType=INTEGER}, work_issue = #{workIssue,jdbcType=VARCHAR}, comment = #{comment,jdbcType=VARCHAR}, outsource = #{outsource,jdbcType=VARCHAR}, in_urgent = #{inUrgent,jdbcType=INTEGER}, authorized_date = #{authorizedDate,jdbcType=TIMESTAMP}, certificate_url = #{certificateUrl,jdbcType=VARCHAR}, copyright_number = #{copyrightNumber,jdbcType=VARCHAR}, application_url = #{applicationUrl,jdbcType=VARCHAR}, delete_sign = #{deleteSign,jdbcType=INTEGER}, founder = #{founder,jdbcType=VARCHAR}, contract_id = #{contractId,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR} update copyright_info set delete_sign = 1 where id in #{item} insert into copyright_info (id, uid, serial_number, create_time, accept_time, principal, contact, copyright_info, copyright_name, status, work_issue, comment, outsource, in_urgent, authorized_date, certificate_url, copyright_number, application_url, delete_sign, founder, contract_id ) values ( #{item.id,jdbcType=VARCHAR}, #{item.uid,jdbcType=VARCHAR}, #{item.serialNumber,jdbcType=INTEGER}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.acceptTime,jdbcType=TIMESTAMP}, #{item.principal,jdbcType=VARCHAR}, #{item.contact,jdbcType=INTEGER}, #{item.copyrightInfo,jdbcType=VARCHAR}, #{item.copyrightName,jdbcType=VARCHAR}, #{item.status,jdbcType=INTEGER}, #{item.workIssue,jdbcType=VARCHAR}, #{item.comment,jdbcType=VARCHAR}, #{item.outsource,jdbcType=VARCHAR}, #{item.inUrgent,jdbcType=INTEGER}, #{item.authorizedDate,jdbcType=TIMESTAMP}, #{item.certificateUrl,jdbcType=VARCHAR}, #{item.copyrightNumber,jdbcType=VARCHAR}, #{item.applicationUrl,jdbcType=VARCHAR}, #{item.deleteSign,jdbcType=INTEGER}, #{item.founder,jdbcType=VARCHAR}, #{item.contractId,jdbcType=VARCHAR} ) update copyright_info set delete_sign = 1 where contract_id in #{item}