A.checklist_id,
A.item_id,
B.item_title,
A.point_id,
A.point_code,
A.point_content,
A.point_reference,
A.point_remark,
A.sort_no
INSERT INTO checklist_item_point
oc_id,
checklist_id,
item_id,
point_id,
point_content,
point_code,
point_reference,
point_remark,
sort_no,
created_by,
created_at,
#{ocId, jdbcType=BIGINT},
#{checklistId, jdbcType=BIGINT},
#{itemId ,jdbcType=BIGINT},
#{pointId ,jdbcType=BIGINT},
#{pointContent ,jdbcType=VARCHAR},
#{pointCode ,jdbcType=VARCHAR},
#{pointReference ,jdbcType=VARCHAR},
#{pointRemark, jdbcType=VARCHAR},
#{sortNo ,jdbcType=BIGINT},
#{createdBy ,jdbcType=BIGINT},
#{createdAt ,jdbcType=TIMESTAMP},
UPDATE checklist_item_point
point_content = #{pointContent, jdbcType=VARCHAR},
point_code = #{pointCode ,jdbcType=VARCHAR},
point_reference = #{pointReference ,jdbcType=VARCHAR},
point_remark = #{pointRemark, jdbcType=VARCHAR},
sort_no = #{sortNo ,jdbcType=BIGINT},
updated_by = #{updatedBy ,jdbcType=BIGINT},
updated_at = #{updatedAt ,jdbcType=TIMESTAMP},
WHERE oc_id = #{ocId ,jdbcType=BIGINT}
AND checklist_id = #{checklistId ,jdbcType=BIGINT}
AND item_id = #{itemId ,jdbcType=BIGINT}
AND point_id = #{pointId ,jdbcType=BIGINT}
UPDATE checklist_item_point
deleted_flag = #{deletedFlag,jdbcType=BIGINT},
deleted_time = #{deletedTime,jdbcType=TIMESTAMP},
deleted_by = #{deletedBy,jdbcType=BIGINT},
WHERE oc_id = #{ocId ,jdbcType=BIGINT}
AND checklist_id = #{checklistId ,jdbcType=BIGINT}
AND item_id = #{itemId ,jdbcType=BIGINT}
AND point_id = #{pointId ,jdbcType=BIGINT}