A.oc_id,
A.group_id,
B.group_name,
A.position_id,
C.position_name,
A.account_id,
D.account_name,
D.account_real_name,
D.account_avatar,
A.record_id,
A.target_oc_id,
A.event,
A.story_id,
A.target_id,
A.item_id,
A.point_id,
A.score,
A.assess_time,
A.remark
INSERT INTO hos_assess_record
oc_id,
group_id,
position_id,
account_id,
record_id,
event,
target_oc_id,
story_id,
target_id,
item_id,
point_id,
score,
assess_time,
remark,
created_by,
created_at,
#{ocId,jdbcType=BIGINT},
#{groupId, jdbcType=BIGINT},
#{positionId, jdbcType=BIGINT},
#{accountId, jdbcType=BIGINT},
#{recordId, jdbcType=BIGINT},
#{event, jdbcType=VARCHAR},
#{targetOcId, jdbcType=BIGINT},
#{storyId ,jdbcType=BIGINT},
#{targetId ,jdbcType=BIGINT},
#{itemId ,jdbcType=BIGINT},
#{pointId ,jdbcType=BIGINT},
#{score ,jdbcType=DOUBLE},
#{assessTime ,jdbcType=TIMESTAMP},
#{remark ,jdbcType=VARCHAR},
#{createdBy ,jdbcType=BIGINT},
#{createdAt ,jdbcType=TIMESTAMP},
UPDATE hos_assess_record
deleted_flag = #{deletedFlag,jdbcType=BIGINT},
deleted_time = #{deletedTime,jdbcType=TIMESTAMP},
deleted_by = #{deletedBy,jdbcType=BIGINT},
WHERE 1 = 1
AND oc_id = #{ocId ,jdbcType=BIGINT}
AND record_id = #{recordId ,jdbcType=BIGINT}
AND story_id = #{storyId ,jdbcType=BIGINT}
AND target_id = #{targetId ,jdbcType=BIGINT}
AND item_id = #{itemId ,jdbcType=BIGINT},
AND point_id = #{pointId ,jdbcType=BIGINT}