删除检测记录
parent
96059b29f1
commit
3c07eb9859
|
|
@ -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++)
|
||||
|
|
|
|||
Loading…
Reference in New Issue