select id, category, firstcode, firstcodename, twocode, twocodename, threecode, threecodename, fourcode, fourcodename, featurecode, entilayer, entilaytype from t_entity_code_table insert into t_entity_code_table id, category, firstcode, firstcodename, twocode, twocodename, threecode, threecodename, fourcode, fourcodename, featurecode, entilayer, entilaytype, #{id}, #{category}, #{firstcode}, #{firstcodename}, #{twocode}, #{twocodename}, #{threecode}, #{threecodename}, #{fourcode}, #{fourcodename}, #{featurecode}, #{entilayer}, #{entilaytype}, update t_entity_code_table category = #{category}, firstcode = #{firstcode}, firstcodename = #{firstcodename}, twocode = #{twocode}, twocodename = #{twocodename}, threecode = #{threecode}, threecodename = #{threecodename}, fourcode = #{fourcode}, fourcodename = #{fourcodename}, featurecode = #{featurecode}, entilayer = #{entilayer}, entilaytype = #{entilaytype}, where id = #{id} delete from t_entity_code_table where id = #{id} delete from t_entity_code_table where id in #{id}