insert into face_sample(id, scenic_id, device_id, face_url, match_sample_ids, first_match_rate, match_result,`status`, create_at)
values (#{id}, #{scenicId}, #{deviceId}, #{faceUrl}, #{matchSampleIds}, #{firstMatchRate}, #{matchResult},#{status},#{createAt})
update face_sample
scenic_id = #{scenicId},
device_id = #{deviceId},
face_url = #{faceUrl},
match_sample_ids = #{matchSampleIds},
first_match_rate = #{firstMatchRate},
match_result = #{matchResult},
`status` = #{status},
`score` = #{score},
update_at = now(),
where id = #{id}
update face_sample
set score = #{score}
where id = #{id}
delete from face_sample where id = #{id}
delete from face_sample where id in (
#{id}
)