A.oc_id,
A.map_id,
C.map_raster_layer,
A.risk_point_id,
B.risk_point_title,
A.layer_id,
D.layer_title,
D.layer_marker,
D.layer_vector,
D.layer_vector_type
INSERT INTO ent_risk_point_map_layer
oc_id,
risk_point_id,
map_id,
layer_id,
created_by,
created_at,
#{ocId ,jdbcType=BIGINT},
#{riskPointId ,jdbcType=BIGINT},
#{mapId ,jdbcType=BIGINT},
#{layerId ,jdbcType=BIGINT},
#{createdBy ,jdbcType=BIGINT},
#{createdAt ,jdbcType=TIMESTAMP},
DELETE FROM ent_risk_point_map_layer
WHERE 1 = 1
AND oc_id = #{ocId ,jdbcType=BIGINT}
AND map_id = #{mapId ,jdbcType=BIGINT}
AND layer_id = #{layerId ,jdbcType=BIGINT}
AND risk_point_id = #{riskPointId ,jdbcType=BIGINT}