From e914b1710eced9226539d86b72c92a02f8939ccb Mon Sep 17 00:00:00 2001 From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674> Date: 星期五, 28 七月 2017 15:24:23 +0800 Subject: [PATCH] --- VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/fragment/VisitorRegisterFragment.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/fragment/VisitorRegisterFragment.java b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/fragment/VisitorRegisterFragment.java index 70daba3..1ac9885 100644 --- a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/fragment/VisitorRegisterFragment.java +++ b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/fragment/VisitorRegisterFragment.java @@ -241,7 +241,7 @@ offlineVisitorRegisterItem.setBirthday(fragment_visitor_register_birthday.getValue()); offlineVisitorRegisterItem.setRemark(fragment_visitor_register_remark.getValue()); - String rawSurveillancePhotoPath = UUID.randomUUID().toString()+".bmp"; + String rawSurveillancePhotoPath = UUID.randomUUID().toString()+""; byte[] rawSurveillancePhotoBytes = new byte[]{}; if (surveillanceQueryItem_selectPhoto != null) { @@ -259,7 +259,7 @@ FileUtil.writeToFile(rawSurveillancePhotoPath, rawSurveillancePhotoBytes); offlineVisitorRegisterItem.setRawSurveillancePhotoPath(rawSurveillancePhotoPath); - String surveillancePhotoPath = UUID.randomUUID().toString()+".bmp"; + String surveillancePhotoPath = UUID.randomUUID().toString()+""; byte[] surveillancePhotoBytes = new byte[]{}; if (fragment_visitor_register_surveillance_photo_img != null) { ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); @@ -269,7 +269,7 @@ FileUtil.writeToFile(surveillancePhotoPath, surveillancePhotoBytes); offlineVisitorRegisterItem.setSurveillancePhoto(surveillancePhotoPath); - String uploadCustomPhotoPath = UUID.randomUUID().toString()+".bmp"; + String uploadCustomPhotoPath = UUID.randomUUID().toString()+""; byte[] uploadCustomPhotoBytes = new byte[]{}; if (fragment_visitor_register_upload_custom_photo_img != null) { ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); @@ -279,7 +279,7 @@ FileUtil.writeToFile(uploadCustomPhotoPath, uploadCustomPhotoBytes); offlineVisitorRegisterItem.setUploadCustomPhoto(uploadCustomPhotoPath); - String idCardPhotoPath = UUID.randomUUID().toString()+".bmp"; + String idCardPhotoPath = UUID.randomUUID().toString()+""; byte[] idCardPhotoBytes = new byte[]{}; if (fragment_visitor_register_id_card_photo_img != null) { ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); -- Gitblit v1.8.0