A.oc_id, A.map_id, B.map_raster_layer, A.layer_id, A.layer_cat_id, A.layer_title, A.layer_marker, A.layer_vector, A.layer_vector_type INSERT INTO ent_map_layer oc_id, map_id, layer_id, layer_cat_id, layer_title, layer_marker, layer_vector, layerVectorType, created_by, created_at, #{ocId ,jdbcType=BIGINT}, #{mapId ,jdbcType=BIGINT}, #{layerId ,jdbcType=BIGINT}, #{layerCatId ,jdbcType=BIGINT}, #{layerTitle ,jdbcType=VARCHAR}, #{layerMarker ,jdbcType=VARCHAR}, #{layerVector ,jdbcType=VARCHAR}, #{layerVectorType ,jdbcType=BIGINT}, #{createdBy ,jdbcType=BIGINT}, #{createdAt ,jdbcType=TIMESTAMP}, UPDATE ent_map_layer map_id = #{mapId ,jdbcType=BIGINT}, layer_title = #{layerTitle ,jdbcType=VARCHAR}, layer_marker = #{layerMarker ,jdbcType=VARCHAR}, layer_vector = #{layerVector ,jdbcType=VARCHAR}, layer_vector_type = #{layerVectorType ,jdbcType=BIGINT}, updated_by = #{updatedBy ,jdbcType=BIGINT}, updated_at = #{updatedAt ,jdbcType=TIMESTAMP}, WHERE oc_id = #{ocId ,jdbcType=BIGINT} AND layer_id = #{layerId ,jdbcType=BIGINT} DELETE FROM ent_map_layer WHERE 1 = 1 AND oc_id = #{ocId ,jdbcType=BIGINT} AND map_id = #{mapId ,jdbcType=BIGINT} AND layer_id = #{layerId ,jdbcType=BIGINT}