|
@@ -637,7 +637,13 @@ public class SyncExamDataCloudServiceProvider extends ControllerSupport implemen
|
|
|
private ExamSyncCaptureEntity copyExamSyncCaptureFrom(ExamSyncCaptureBean examSyncCapture, Long examRecordDataId) {
|
|
|
ExamSyncCaptureEntity entity = new ExamSyncCaptureEntity();
|
|
|
entity.setExamRecordDataId(examRecordDataId);
|
|
|
- entity.setFileUrl(examSyncCapture.getFileUrl());
|
|
|
+
|
|
|
+ //如果同步照片不存在,审核结果提示非法数据
|
|
|
+ if(StringUtils.isNotBlank(examSyncCapture.getFileUrl())){
|
|
|
+ entity.setFileUrl(examSyncCapture.getFileUrl());
|
|
|
+ } else {
|
|
|
+ examAuditService.saveHeaderWarnAudit(examRecordDataId);
|
|
|
+ }
|
|
|
entity.setFileName(examSyncCapture.getFileName());
|
|
|
entity.setFaceCompareResult(examSyncCapture.getFaceCompareResult());
|
|
|
entity.setIsPass(examSyncCapture.getPass());
|