feat:同时核销几笔订单

feat:人脸质量检测
This commit is contained in:
dzc committed 2026-08-31 17:59:03 +08:00
1 parent 917f03bc58
commit 9cc99deed7
28 files changed
+2324 -708

No files matched your search

+3 -3
View File
@@ -393,7 +393,7 @@ abstract class SyncFaceTool {
}
}
/// 删除本地孤儿人脸;虹软失败或 SQLite 失败时恢复文件和旧特征。
/// 删除本地孤儿人脸;文件、虹软或 SQLite 失败时恢复文件和旧特征。
static Future<bool> _deleteLocalFace(
FaceEntity face,
FaceDao faceDao,
@@ -417,8 +417,8 @@ abstract class SyncFaceTool {
if (!removed.success) throw FaceSyncSnapshotException(removed.message);
}
await faceDao.delBySampleId(face.sampleId);
if (pendingFile != null) {
await delFaceByStorage(filePath: pendingFile.path);
if (pendingFile != null && await pendingFile.exists()) {
await pendingFile.delete();
}
return true;
} catch (error, stack) {