A.oc_id,
A.checklist_id,
B.checklist_cat_id,
B.checklist_type_id,
C.checklist_cat_title,
B.checklist_desc,
B.checklist_title,
B.is_fixed,
D.account_name AS issued_account_name,
B.issued_by AS issued_account_id,
B.issued_at,
B.author,
B.status,
B.version
INSERT INTO checklist_target
oc_id,
checklist_Id,
target_id,
target_type,
#{ocId, jdbcType=BIGINT},
#{checklistId, jdbcType=BIGINT},
#{targetId, jdbcType=BIGINT},
#{targetType, jdbcType=BIGINT},
DELETE from checklist_target
WHERE 1 = 1
AND oc_Id = #{ocId ,jdbcType=BIGINT}
AND checklist_Id = #{checklistId ,jdbcType=BIGINT}
AND target_Id = #{targetId ,jdbcType=BIGINT}
AND target_type = #{targetType ,jdbcType=BIGINT}