A.oc_id,
A.risk_point_id,
A.checklist_id,
B.checklist_title,
B.checklist_type_id,
B.checklist_cat_id,
C.checklist_cat_title,
A.remark
INSERT INTO ent_risk_point_checklist
oc_id,
risk_point_id,
checklist_id,
created_by,
created_at,
#{ocId ,jdbcType=BIGINT},
#{riskPointId ,jdbcType=BIGINT},
#{checklistId ,jdbcType=BIGINT},
#{createdBy ,jdbcType=BIGINT},
#{createdAt ,jdbcType=TIMESTAMP},
DELETE FROM ent_risk_point_checklist
WHERE 1 = 1
AND oc_id = #{ocId ,jdbcType=BIGINT}
AND risk_point_id = #{riskPointId ,jdbcType=BIGINT}
AND checklist_id = #{checklistId ,jdbcType=BIGINT}