id, uid, serial_number, patent_number, patent_name, patent_catagory, patent_state,
patent_field, patent_des, patent_prory_statement_url, patent_writing_url, authorization_notice_url,
patent_certificate_url, patent_application_date, first_inventor_name, first_inventor_nationality,
first_inventor_id_number, first_inventor_is_publish, second_inventor_name, second_inventor_nationality,
second_inventor_is_publish, third_inventor_name, third_inventor_nationality, third_inventor_is_publish,
create_time, author, authorized_date,office, principal ,confirm_state, record_time, deleted_sign
delete from patent_info
where id = #{id,jdbcType=VARCHAR}
insert into patent_info (id, uid, serial_number,
patent_number, patent_name, patent_catagory,
patent_state, patent_field, patent_des,
patent_prory_statement_url, patent_writing_url,
authorization_notice_url, patent_certificate_url,
patent_application_date, first_inventor_name,
first_inventor_nationality, first_inventor_id_number,
first_inventor_is_publish, second_inventor_name,
second_inventor_nationality, second_inventor_is_publish,
third_inventor_name, third_inventor_nationality,
third_inventor_is_publish, create_time, author, authorized_date,
office, principal, confirm_state, record_time, deleted_sign)
values (#{id,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{serialNumber,jdbcType=INTEGER},
#{patentNumber,jdbcType=VARCHAR}, #{patentName,jdbcType=VARCHAR}, #{patentCatagory,jdbcType=INTEGER},
#{patentState,jdbcType=INTEGER}, #{patentField,jdbcType=INTEGER}, #{patentDes,jdbcType=VARCHAR},
#{patentProryStatementUrl,jdbcType=VARCHAR}, #{patentWritingUrl,jdbcType=VARCHAR},
#{authorizationNoticeUrl,jdbcType=VARCHAR}, #{patentCertificateUrl,jdbcType=VARCHAR},
#{patentApplicationDate,jdbcType=TIMESTAMP}, #{firstInventorName,jdbcType=VARCHAR},
#{firstInventorNationality,jdbcType=VARCHAR}, #{firstInventorIdNumber,jdbcType=VARCHAR},
#{firstInventorIsPublish,jdbcType=INTEGER}, #{secondInventorName,jdbcType=VARCHAR},
#{secondInventorNationality,jdbcType=VARCHAR}, #{secondInventorIsPublish,jdbcType=INTEGER},
#{thirdInventorName,jdbcType=VARCHAR}, #{thirdInventorNationality,jdbcType=VARCHAR},
#{thirdInventorIsPublish,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{author,jdbcType=VARCHAR},
#{authorizedDate,jdbcType=TIMESTAMP},
#{office,jdbcType=VARCHAR}, #{principal,jdbcType=VARCHAR}, #{recordTime,jdbcType=TIMESTAMP},
#{confirmState,jdbcType=INTEGER}, #{deletedSign,jdbcType=INTEGER})
insert into patent_info
id,
uid,
serial_number,
patent_number,
patent_name,
patent_catagory,
patent_state,
patent_field,
patent_des,
patent_prory_statement_url,
patent_writing_url,
authorization_notice_url,
patent_certificate_url,
patent_application_date,
first_inventor_name,
first_inventor_nationality,
first_inventor_id_number,
first_inventor_is_publish,
second_inventor_name,
second_inventor_nationality,
second_inventor_is_publish,
third_inventor_name,
third_inventor_nationality,
third_inventor_is_publish,
create_time,
author,
authorized_date,
office,
principal,
confirm_state,
record_time,
deleted_sign,
#{id,jdbcType=VARCHAR},
#{uid,jdbcType=VARCHAR},
#{serialNumber,jdbcType=INTEGER},
#{patentNumber,jdbcType=VARCHAR},
#{patentName,jdbcType=VARCHAR},
#{patentCatagory,jdbcType=INTEGER},
#{patentState,jdbcType=INTEGER},
#{patentField,jdbcType=INTEGER},
#{patentDes,jdbcType=VARCHAR},
#{patentProryStatementUrl,jdbcType=VARCHAR},
#{patentWritingUrl,jdbcType=VARCHAR},
#{authorizationNoticeUrl,jdbcType=VARCHAR},
#{patentCertificateUrl,jdbcType=VARCHAR},
#{patentApplicationDate,jdbcType=TIMESTAMP},
#{firstInventorName,jdbcType=VARCHAR},
#{firstInventorNationality,jdbcType=VARCHAR},
#{firstInventorIdNumber,jdbcType=VARCHAR},
#{firstInventorIsPublish,jdbcType=INTEGER},
#{secondInventorName,jdbcType=VARCHAR},
#{secondInventorNationality,jdbcType=VARCHAR},
#{secondInventorIsPublish,jdbcType=INTEGER},
#{thirdInventorName,jdbcType=VARCHAR},
#{thirdInventorNationality,jdbcType=VARCHAR},
#{thirdInventorIsPublish,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{author,jdbcType=VARCHAR},
#{authorizedDate,jdbcType=TIMESTAMP},
#{office,jdbcType=VARCHAR},
#{principal,jdbcType=VARCHAR},
#{confirmState,jdbcType=INTEGER},
#{recordTime,jdbcType=TIMESTAMP},
#{deletedSign,jdbcType=INTEGER},
update patent_info
uid = #{uid,jdbcType=VARCHAR},
serial_number = #{serialNumber,jdbcType=INTEGER},
patent_number = #{patentNumber,jdbcType=VARCHAR},
patent_name = #{patentName,jdbcType=VARCHAR},
patent_catagory = #{patentCatagory,jdbcType=INTEGER},
patent_state = #{patentState,jdbcType=INTEGER},
patent_field = #{patentField,jdbcType=INTEGER},
patent_des = #{patentDes,jdbcType=VARCHAR},
patent_prory_statement_url = #{patentProryStatementUrl,jdbcType=VARCHAR},
patent_writing_url = #{patentWritingUrl,jdbcType=VARCHAR},
authorization_notice_url = #{authorizationNoticeUrl,jdbcType=VARCHAR},
patent_certificate_url = #{patentCertificateUrl,jdbcType=VARCHAR},
patent_application_date = #{patentApplicationDate,jdbcType=TIMESTAMP},
first_inventor_name = #{firstInventorName,jdbcType=VARCHAR},
first_inventor_nationality = #{firstInventorNationality,jdbcType=VARCHAR},
first_inventor_id_number = #{firstInventorIdNumber,jdbcType=VARCHAR},
first_inventor_is_publish = #{firstInventorIsPublish,jdbcType=INTEGER},
second_inventor_name = #{secondInventorName,jdbcType=VARCHAR},
second_inventor_nationality = #{secondInventorNationality,jdbcType=VARCHAR},
second_inventor_is_publish = #{secondInventorIsPublish,jdbcType=INTEGER},
third_inventor_name = #{thirdInventorName,jdbcType=VARCHAR},
third_inventor_nationality = #{thirdInventorNationality,jdbcType=VARCHAR},
third_inventor_is_publish = #{thirdInventorIsPublish,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
author = #{author,jdbcType=VARCHAR},
authorized_date = #{authorizedDate,jdbcType=TIMESTAMP},
office = #{office,jdbcType=VARCHAR},
principal = #{principal,jdbcType=VARCHAR},
confirm_state = #{confirmState,jdbcType=INTEGER},
record_time = #{recordTime,jdbcType=TIMESTAMP},
deleted_sign = #{deletedSign,jdbcType=INTEGER},
where id = #{id,jdbcType=VARCHAR}
update patent_info
set uid = #{uid,jdbcType=VARCHAR},
serial_number = #{serialNumber,jdbcType=INTEGER},
patent_number = #{patentNumber,jdbcType=VARCHAR},
patent_name = #{patentName,jdbcType=VARCHAR},
patent_catagory = #{patentCatagory,jdbcType=INTEGER},
patent_state = #{patentState,jdbcType=INTEGER},
patent_field = #{patentField,jdbcType=INTEGER},
patent_des = #{patentDes,jdbcType=VARCHAR},
patent_prory_statement_url = #{patentProryStatementUrl,jdbcType=VARCHAR},
patent_writing_url = #{patentWritingUrl,jdbcType=VARCHAR},
authorization_notice_url = #{authorizationNoticeUrl,jdbcType=VARCHAR},
patent_certificate_url = #{patentCertificateUrl,jdbcType=VARCHAR},
patent_application_date = #{patentApplicationDate,jdbcType=TIMESTAMP},
first_inventor_name = #{firstInventorName,jdbcType=VARCHAR},
first_inventor_nationality = #{firstInventorNationality,jdbcType=VARCHAR},
first_inventor_id_number = #{firstInventorIdNumber,jdbcType=VARCHAR},
first_inventor_is_publish = #{firstInventorIsPublish,jdbcType=INTEGER},
second_inventor_name = #{secondInventorName,jdbcType=VARCHAR},
second_inventor_nationality = #{secondInventorNationality,jdbcType=VARCHAR},
second_inventor_is_publish = #{secondInventorIsPublish,jdbcType=INTEGER},
third_inventor_name = #{thirdInventorName,jdbcType=VARCHAR},
third_inventor_nationality = #{thirdInventorNationality,jdbcType=VARCHAR},
third_inventor_is_publish = #{thirdInventorIsPublish,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
author = #{author,jdbcType=VARCHAR},
authorized_date = #{authorizedDate,jdbcType=TIMESTAMP},
office = #{office,jdbcType=VARCHAR},
principal = #{principal,jdbcType=VARCHAR},
confirm_state = #{confirmState,jdbcType=INTEGER},
record_time = #{recordTime,jdbcType=TIMESTAMP},
deleted_sign = #{deletedSign,jdbcType=INTEGER}
where id = #{id,jdbcType=VARCHAR}
update patent_info set deleted_sign = 1
where id in
#{item}