oc_id,
risk_point_cat_id,
risk_point_cat_title,
risk_point_cat_desc,
created_by,
created_at,
updated_by,
updated_at
INSERT INTO ent_risk_point_cat
oc_id,
risk_point_cat_id,
risk_point_cat_title,
risk_point_cat_desc,
created_by,
created_at,
#{ocId ,jdbcType=BIGINT},
#{riskPointCatId ,jdbcType=BIGINT},
#{riskPointCatTitle ,jdbcType=VARCHAR},
#{riskPointCatDesc ,jdbcType=VARCHAR},
#{createdBy ,jdbcType=BIGINT},
#{createdAt ,jdbcType=TIMESTAMP},
UPDATE ent_risk_point_cat
risk_point_cat_title = #{riskPointCatTitle, jdbcType=VARCHAR},
risk_point_cat_desc = #{riskPointCatDesc, jdbcType=VARCHAR},
updated_by = #{updatedBy ,jdbcType=BIGINT},
updated_at = #{updatedAt ,jdbcType=TIMESTAMP},
WHERE 1 = 1
AND oc_id = #{ocId ,jdbcType=BIGINT}
AND risk_point_cat_id = #{riskPointCatId ,jdbcType=BIGINT}
UPDATE ent_risk_point_cat
deleted_flag = #{deletedFlag,jdbcType=BIGINT},
deleted_time = #{deletedTime,jdbcType=VARCHAR},
deleted_by = #{deletedBy,jdbcType=BIGINT},
WHERE 1 = 1
AND oc_id = #{ocId ,jdbcType=BIGINT}
AND risk_point_cat_id = #{riskPointCatId ,jdbcType=BIGINT}