id, cid, project_time, project_name, term_start_time, term_end_time, institution, protocol_url, deleted_sign
delete from org_tech_center_detail
where id = #{id,jdbcType=VARCHAR}
insert into org_tech_center_detail (id, cid, project_time,
project_name, term_start_time, term_end_time, institution,
protocol_url, deleted_sign)
values (#{id,jdbcType=VARCHAR}, #{cid,jdbcType=VARCHAR}, #{projectTime,jdbcType=TIMESTAMP},
#{projectName,jdbcType=VARCHAR}, #{termStartTime,jdbcType=TIMESTAMP}, #{termEndTime,jdbcType=TIMESTAMP},
#{institution,jdbcType=VARCHAR},
#{protocolUrl,jdbcType=VARCHAR}, #{deletedSign,jdbcType=INTEGER})
insert into org_tech_center_detail
id,
cid,
project_time,
project_name,
term_start_time,
term_end_time,
institution,
protocol_url,
deleted_sign,
#{id,jdbcType=VARCHAR},
#{cid,jdbcType=VARCHAR},
#{projectTime,jdbcType=TIMESTAMP},
#{projectName,jdbcType=VARCHAR},
#{termStartTime,jdbcType=TIMESTAMP},
#{termEndTime,jdbcType=TIMESTAMP},
#{institution,jdbcType=VARCHAR},
#{protocolUrl,jdbcType=VARCHAR},
#{deletedSign,jdbcType=INTEGER},
update org_tech_center_detail
cid = #{cid,jdbcType=VARCHAR},
project_time = #{projectTime,jdbcType=TIMESTAMP},
project_name = #{projectName,jdbcType=VARCHAR},
term_start_time = #{termStartTime,jdbcType=TIMESTAMP},
term_end_time = #{termEndTime,jdbcType=TIMESTAMP},
institution = #{institution,jdbcType=VARCHAR},
protocol_url = #{protocolUrl,jdbcType=VARCHAR},
deleted_sign = #{deletedSign,jdbcType=INTEGER},
where id = #{id,jdbcType=VARCHAR}
update org_tech_center_detail
set cid = #{cid,jdbcType=VARCHAR},
project_time = #{projectTime,jdbcType=TIMESTAMP},
project_name = #{projectName,jdbcType=VARCHAR},
term_start_time = #{termStartTime,jdbcType=TIMESTAMP},
term_end_time = #{termEndTime,jdbcType=TIMESTAMP},
institution = #{institution,jdbcType=VARCHAR},
protocol_url = #{protocolUrl,jdbcType=VARCHAR},
deleted_sign = #{deletedSign,jdbcType=INTEGER}
where id = #{id,jdbcType=VARCHAR}
update org_tech_center_detail set deleted_sign = 1
where id in
#{item}