You've already forked FrameTour-BE
feat(face): 添加人工调整标记更新功能
- 在 FaceMapper 接口中新增 updateManualFlag 方法 - 实现根据 ID 更新 is_manual 字段的 SQL 语句 - 优化 FaceServiceImpl 中设置人工调整标记的逻辑 - 使用专门的更新方法替代原有的通用更新方式 - 清理相关缓存以确保数据一致性
This commit is contained in:
@@ -29,6 +29,11 @@
|
||||
</set>
|
||||
where id = #{id}
|
||||
</update>
|
||||
<update id="updateManualFlag">
|
||||
update face
|
||||
set is_manual = #{isManual}
|
||||
where id = #{id}
|
||||
</update>
|
||||
<update id="finishedJourney">
|
||||
update face set finished_journey = 1 where id = #{id}
|
||||
</update>
|
||||
|
||||
Reference in New Issue
Block a user