增量人脸数据查询优化

This commit is contained in:
2025-12-31 11:53:35 +08:00
parent b5daf0f5df
commit 2656e89244
12 changed files with 242 additions and 66 deletions
@@ -88,4 +88,10 @@ public interface FaceDao {
@Query("UPDATE sqlite_sequence SET seq = 0 WHERE name ='face'")
void resetId();
/**
* @return 删除临时用户人脸
*/
@Query("DELETE from face WHERE user_type = '2'")
int deleteTempUserFaceData();
}