id, block_id, graph_type delete from ba_map_graph where id = #{id,jdbcType=BIGINT} insert into ba_map_graph (id, block_id, graph_type) values (#{id,jdbcType=BIGINT}, #{blockId,jdbcType=BIGINT}, #{graphType,jdbcType=TINYINT}) insert into ba_map_graph id, block_id, graph_type, #{id,jdbcType=BIGINT}, #{blockId,jdbcType=BIGINT}, #{graphType,jdbcType=TINYINT}, update ba_map_graph block_id = #{blockId,jdbcType=BIGINT}, graph_type = #{graphType,jdbcType=TINYINT}, where id = #{id,jdbcType=BIGINT} update ba_map_graph set block_id = #{blockId,jdbcType=BIGINT}, graph_type = #{graphType,jdbcType=TINYINT} where id = #{id,jdbcType=BIGINT} DELETE FROM ba_map_graph WHERE block_id = #{blockId}