You've already forked FrameTour-BE
修改
This commit is contained in:
@@ -265,9 +265,7 @@ public class TaskFaceServiceImpl implements TaskFaceService {
|
||||
sampleStoreDay = 3;
|
||||
}
|
||||
Date thatDay = DateUtil.offsetDay(new Date(), -sampleStoreDay);
|
||||
Date dayStart = DateUtil.beginOfDay(thatDay);
|
||||
Date dayEnd = DateUtil.endOfDay(thatDay);
|
||||
query.setStartTime(dayStart);
|
||||
query.setEndTime(dayEnd);
|
||||
IAcsClient client = getClient();
|
||||
faceSampleMapper.list(query).forEach(faceSampleEntity -> {
|
||||
@@ -279,6 +277,8 @@ public class TaskFaceServiceImpl implements TaskFaceService {
|
||||
client.getAcsResponse(request);
|
||||
} catch (ClientException e) {
|
||||
return;
|
||||
} finally {
|
||||
faceSampleMapper.deleteById(faceSampleEntity.getId());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user