select uc_id, uq_id, uc_name, uc_key, uc_con, uc_mock, uc_describe, uc_type, type, sort from uni_con insert into uni_con (uq_id, uc_name, uc_key, uc_con, uc_mock, uc_describe, uc_type, type) VALUES (#{con.uqId}, #{con.ucName}, #{con.ucKey}, #{con.ucCon}, #{con.ucMock}, #{con.ucDescribe}, #{con.ucType}, #{con.type} ) update uni_con when column_id = #{item.columnId} then #{item.ucName} when column_id = #{item.columnId} then #{item.ucKey} when column_id = #{item.columnId} then #{item.ucCon} when column_id = #{item.columnId} then #{item.ucMock} when column_id = #{item.columnId} then #{item.ucDescribe} when column_id = #{item.columnId} then #{item.ucType} when column_id = #{item.columnId} then #{item.type} where uc_id in #{item.ucId} delete from uni_con where uq_id = #{queryId} delete from uni_con where uq_id in #{id}