删除检测记录

feature-flyModify
zhangbin 2025-09-19 17:01:19 +08:00
parent 96059b29f1
commit 3c07eb9859
1 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,9 @@ namespace OpenAuth.App.ServiceApp.Algo
List<dynamic> dataList = new List<dynamic>();
if (imageList1.Count() != imageList2.Count())
{
//删除检测记录
await db.Lasa_ChangeDetection.DeleteByIdAsync(cdid);
db.Commit();
throw new Exception("任务照片数量不对应,请重新选择任务");
}
for (int i = 0; i < imageList1.Count; i++)