| | |
| | | SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
| | | offlineAttenderRegisterItem.setCreateTime(sdf.format(new Date()));
|
| | |
|
| | | String rawSurveillancePhotoPath = UUID.randomUUID().toString()+".bmp";
|
| | | String rawSurveillancePhotoPath = UUID.randomUUID().toString()+"";
|
| | | byte[] rawSurveillancePhotoBytes = new byte[]{};
|
| | |
|
| | | if (surveillanceQueryItem_selectPhoto != null) {
|
| | |
| | | FileUtil.writeToFile(rawSurveillancePhotoPath, rawSurveillancePhotoBytes);
|
| | | offlineAttenderRegisterItem.setRawSurveillancePhotoPath(rawSurveillancePhotoPath);
|
| | |
|
| | | String surveillancePhotoPath = UUID.randomUUID().toString()+".bmp";
|
| | | String surveillancePhotoPath = UUID.randomUUID().toString()+"";
|
| | | byte[] surveillancePhotoBytes = new byte[]{};
|
| | | if (fragment_attender_register_surveillance_photo_img != null) {
|
| | | ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
|
| | |
| | | FileUtil.writeToFile(surveillancePhotoPath, surveillancePhotoBytes);
|
| | | offlineAttenderRegisterItem.setSurveillancePhoto(surveillancePhotoPath);
|
| | |
|
| | | String uploadCustomPhotoPath = UUID.randomUUID().toString()+".bmp";
|
| | | String uploadCustomPhotoPath = UUID.randomUUID().toString()+"";
|
| | | byte[] uploadCustomPhotoBytes = new byte[]{};
|
| | | if (fragment_attender_register_upload_custom_photo_img != null) {
|
| | | ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
|
| | |
| | | FileUtil.writeToFile(uploadCustomPhotoPath, uploadCustomPhotoBytes);
|
| | | offlineAttenderRegisterItem.setUploadCustomPhoto(uploadCustomPhotoPath);
|
| | |
|
| | | String idCardPhotoPath = UUID.randomUUID().toString()+".bmp";
|
| | | String idCardPhotoPath = UUID.randomUUID().toString()+"";
|
| | | byte[] idCardPhotoBytes = new byte[]{};
|
| | | if (fragment_attender_register_id_card_photo_img != null) {
|
| | | ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
|