select id, chemical_num, chemical_name, chemical_classify, classify_attribute, chemical_shape, label_type, measuring_method, chemical_unit, verification, another_name, cas_num, factory, purity, collect_hour, collect_minute, user_id, create_by, create_time, update_by, update_time, remark from hxp_chemical select t.id, t.chemical_num, t.chemical_name, t.chemical_classify, classify_attribute, t.chemical_shape, t.label_type, t.measuring_method, t.chemical_unit, t.verification, t.another_name, t.cas_num, t.factory, t.purity, t.collect_hour, t.collect_minute, t.user_id, t.create_by, t.create_time, t.update_by, t.update_time, t.remark from hxp_chemical as t insert into hxp_chemical chemical_num, chemical_name, chemical_classify, classify_attribute, chemical_shape, label_type, measuring_method, chemical_unit, verification, another_name, cas_num, factory, purity, collect_hour, collect_minute, user_id, create_by, create_time, update_by, update_time, remark, chemical_name_pinyin, chemical_name_char, another_name_pinyin, another_name_char, #{chemicalNum}, #{chemicalName}, #{chemicalClassify}, #{classifyAttribute}, #{chemicalShape}, #{labelType}, #{measuringMethod}, #{chemicalUnit}, #{verification}, #{anotherName}, #{casNum}, #{factory}, #{purity}, #{collectHour}, #{collectMinute}, #{userId}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, #{chemicalNamePinyin}, #{chemicalNameChar}, #{anotherNamePinyin}, #{anotherNameChar}, update hxp_chemical chemical_num = #{chemicalNum}, chemical_name = #{chemicalName}, chemical_classify = #{chemicalClassify}, classify_attribute = #{classifyAttribute}, chemical_shape = #{chemicalShape}, label_type = #{labelType}, measuring_method = #{measuringMethod}, chemical_unit = #{chemicalUnit}, verification = #{verification}, another_name = #{anotherName}, cas_num = #{casNum}, factory = #{factory}, purity = #{purity}, collect_hour = #{collectHour}, collect_minute = #{collectMinute}, join_hazard_id = #{joinHazardId}, user_id = #{userId}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, chemical_name_pinyin = #{chemicalNamePinyin}, chemical_name_char = #{chemicalNameChar}, another_name_pinyin = #{anotherNamePinyin}, another_name_char = #{anotherNameChar}, where id = #{id} update hxp_chemical set join_hazard_id = NULL where id = #{id} delete from hxp_chemical where id = #{id} delete from hxp_chemical where id in #{id}