a.id,
a.khtx_target_id AS targetId,
a.evaluation_kind AS evaluationKind,
a.create_by AS "createBy.id",
a.create_date,
a.update_by AS "updateBy.id",
a.update_date,
a.remarks,
a.del_flag
INSERT INTO assessment_evaluation(
id,
khtx_target_id,
evaluation_kind,
create_by,
create_date,
update_by,
update_date,
remarks,
del_flag
) VALUES (
#{id},
#{targetId},
#{evaluationKind},
#{createBy.id},
#{createDate},
#{updateBy.id},
#{updateDate},
#{remarks},
#{delFlag}
)
UPDATE assessment_evaluation SET
evaluation_kind = #{evaluationKind},
update_by = #{updateBy.id},
update_date = #{updateDate},
remarks = #{remarks}
WHERE id = #{id}