id, uid, serial_number, contacts, comment, consultant, technical_field1, technical_field2,
technical_field3, basic_research_cost, accident, create_time, accept_date, issuing_date,
certificate_number, certificate_url, state, year, record_time, large_order, deleted_sign,
founder, tech_principal, contract_id
delete from org_cognizance
where id = #{id,jdbcType=VARCHAR}
insert into org_cognizance (id, uid, serial_number,
contacts, comment, consultant,
technical_field1, technical_field2, technical_field3,
basic_research_cost, accident, create_time,
accept_date, issuing_date, certificate_number,
certificate_url, state, year, record_time, large_order, deleted_sign, founder,
tech_principal, contract_id
)
values (#{id,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{serialNumber,jdbcType=INTEGER},
#{contacts,jdbcType=INTEGER}, #{comment,jdbcType=VARCHAR}, #{consultant,jdbcType=VARCHAR},
#{technicalField1,jdbcType=INTEGER}, #{technicalField2,jdbcType=INTEGER}, #{technicalField3,jdbcType=INTEGER},
#{basicResearchCost,jdbcType=DECIMAL}, #{accident,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
#{acceptDate,jdbcType=TIMESTAMP}, #{issuingDate,jdbcType=TIMESTAMP}, #{certificateNumber,jdbcType=VARCHAR},
#{certificateUrl,jdbcType=VARCHAR}, #{state,jdbcType=INTEGER}, #{year,jdbcType=INTEGER}, #{recordTime,jdbcType=TIMESTAMP},
#{largeOrder,jdbcType=INTEGER}, #{deletedSign,jdbcType=INTEGER}, #{founder,jdbcType=VARCHAR},
#{techPrincipal,jdbcType=VARCHAR}, #{contractId,jdbcType=VARCHAR}
)
insert into org_cognizance
id,
uid,
serial_number,
contacts,
comment,
consultant,
technical_field1,
technical_field2,
technical_field3,
basic_research_cost,
accident,
create_time,
accept_date,
issuing_date,
certificate_number,
certificate_url,
state,
year,
record_time,
large_order,
deleted_sign,
founder,
tech_principal,
contract_id,
#{id,jdbcType=VARCHAR},
#{uid,jdbcType=VARCHAR},
#{serialNumber,jdbcType=INTEGER},
#{contacts,jdbcType=INTEGER},
#{comment,jdbcType=VARCHAR},
#{consultant,jdbcType=VARCHAR},
#{technicalField1,jdbcType=INTEGER},
#{technicalField2,jdbcType=INTEGER},
#{technicalField3,jdbcType=INTEGER},
#{basicResearchCost,jdbcType=DECIMAL},
#{accident,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{acceptDate,jdbcType=TIMESTAMP},
#{issuingDate,jdbcType=TIMESTAMP},
#{certificateNumber,jdbcType=VARCHAR},
#{certificateUrl,jdbcType=VARCHAR},
#{state,jdbcType=INTEGER},
#{year,jdbcType=INTEGER},
#{recordTime,jdbcType=TIMESTAMP},
#{largeOrder,jdbcType=INTEGER},
#{deletedSign,jdbcType=INTEGER},
#{founder,jdbcType=VARCHAR},
#{techPrincipal,jdbcType=VARCHAR},
#{contractId,jdbcType=VARCHAR},
update org_cognizance
uid = #{uid,jdbcType=VARCHAR},
serial_number = #{serialNumber,jdbcType=INTEGER},
contacts = #{contacts,jdbcType=INTEGER},
comment = #{comment,jdbcType=VARCHAR},
consultant = #{consultant,jdbcType=VARCHAR},
technical_field1 = #{technicalField1,jdbcType=INTEGER},
technical_field2 = #{technicalField2,jdbcType=INTEGER},
technical_field3 = #{technicalField3,jdbcType=INTEGER},
basic_research_cost = #{basicResearchCost,jdbcType=DECIMAL},
accident = #{accident,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
accept_date = #{acceptDate,jdbcType=TIMESTAMP},
issuing_date = #{issuingDate,jdbcType=TIMESTAMP},
certificate_number = #{certificateNumber,jdbcType=VARCHAR},
certificate_url = #{certificateUrl,jdbcType=VARCHAR},
state = #{state,jdbcType=INTEGER},
year = #{year,jdbcType=INTEGER},
record_time = #{recordTime,jdbcType=TIMESTAMP},
large_order = #{largeOrder,jdbcType=INTEGER},
deleted_sign = #{deletedSign,jdbcType=INTEGER},
founder = #{founder,jdbcType=VARCHAR},
tech_principal = #{techPrincipal,jdbcType=VARCHAR},
contract_id = #{contractId,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update org_cognizance
set uid = #{uid,jdbcType=VARCHAR},
serial_number = #{serialNumber,jdbcType=INTEGER},
contacts = #{contacts,jdbcType=INTEGER},
comment = #{comment,jdbcType=VARCHAR},
consultant = #{consultant,jdbcType=VARCHAR},
technical_field1 = #{technicalField1,jdbcType=INTEGER},
technical_field2 = #{technicalField2,jdbcType=INTEGER},
technical_field3 = #{technicalField3,jdbcType=INTEGER},
basic_research_cost = #{basicResearchCost,jdbcType=DECIMAL},
accident = #{accident,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
accept_date = #{acceptDate,jdbcType=TIMESTAMP},
issuing_date = #{issuingDate,jdbcType=TIMESTAMP},
certificate_number = #{certificateNumber,jdbcType=VARCHAR},
certificate_url = #{certificateUrl,jdbcType=VARCHAR},
state = #{state,jdbcType=INTEGER},
year = #{year,jdbcType=INTEGER},
record_time = #{recordTime,jdbcType=TIMESTAMP},
large_order = #{largeOrder,jdbcType=INTEGER},
deleted_sign = #{deletedSign,jdbcType=INTEGER},
founder = #{founder,jdbcType=VARCHAR},
tech_principal = #{techPrincipal,jdbcType=VARCHAR},
contract_id = #{contractId,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
update org_cognizance set deleted_sign = 1
where id in
#{item}
update org_cognizance set deleted_sign = 1
where contract_id in
#{item}