|
|
@@ -328,15 +328,19 @@ public class VisitorMainService extends SuperService {
|
|
|
public ResultContent checkExpireInfo(VisitorMain visitorMain) {
|
|
|
if (ObjectUtils.isNotEmpty(visitorMain)) {
|
|
|
if (visitorMain.getReViewSuccess() != null && visitorMain.getReViewSuccess() && visitorMain.getEndTime() <= System.currentTimeMillis()) {
|
|
|
- com.github.microservice.auth.client.content.ResultContent resultContent = userFaceService.delete(visitorMain.getTempUserId(), visitorMain.getFaceFileId());
|
|
|
+ // 取消人脸
|
|
|
+ com.github.microservice.auth.client.content.ResultContent resultContent = userFaceService.delete(
|
|
|
+ visitorMain.getTempUserId(), visitorMain.getFaceFileId());
|
|
|
if (resultContent.isSuccess()) {
|
|
|
visitorMain.setIsCancel(Boolean.TRUE);
|
|
|
visitorMain.setIsClearFace(Boolean.TRUE);
|
|
|
+
|
|
|
visitorMainDao.save(visitorMain);
|
|
|
return ResultContent.buildSuccess();
|
|
|
} else {
|
|
|
return ResultContent.buildFail(resultContent.getMsg());
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
return ResultContent.buildFail("数据为空");
|
|
|
@@ -355,7 +359,9 @@ public class VisitorMainService extends SuperService {
|
|
|
*/
|
|
|
private void checkAllOverTimeData() {
|
|
|
VisitorMainSearch param = new VisitorMainSearch();
|
|
|
+ // 审核通过
|
|
|
param.setReViewSuccess(Boolean.TRUE);
|
|
|
+ // 未权限
|
|
|
param.setIsCancel(Boolean.FALSE);
|
|
|
|
|
|
Pageable pageable = PageRequest.of(0, 100);
|