From bb655170d63fefa87cc95490dc3960cfa8cf79bd Mon Sep 17 00:00:00 2001 From: wangkang Date: Tue, 19 Dec 2017 18:13:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E8=A2=AB=E4=B8=8B=E8=BD=BD=E7=9A=84?= =?UTF-8?q?=E6=96=87=E4=BB=B6,=E4=B8=8A=E4=BC=A0=E9=98=BF=E9=87=8C?= =?UTF-8?q?=E4=BA=91OSS=E7=9A=84=E6=97=B6=E5=80=99=E8=BF=9B=E8=A1=8C?= =?UTF-8?q?=E5=8E=8B=E7=BC=A9,=E8=8A=82=E7=9C=81=E7=A9=BA=E9=97=B4?= =?UTF-8?q?=E5=92=8C=E6=B5=81=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../aliyun/oss/api/download/DownLoadProcessService.java | 2 -- .../itkk/udf/file/aliyun/oss/api/download/DownloadInfo.java | 6 ------ 2 files changed, 8 deletions(-) diff --git a/udf-starter-file-aliyun-oss-api/src/main/java/org/itkk/udf/file/aliyun/oss/api/download/DownLoadProcessService.java b/udf-starter-file-aliyun-oss-api/src/main/java/org/itkk/udf/file/aliyun/oss/api/download/DownLoadProcessService.java index 7b15bb7..9279ae8 100644 --- a/udf-starter-file-aliyun-oss-api/src/main/java/org/itkk/udf/file/aliyun/oss/api/download/DownLoadProcessService.java +++ b/udf-starter-file-aliyun-oss-api/src/main/java/org/itkk/udf/file/aliyun/oss/api/download/DownLoadProcessService.java @@ -5,7 +5,6 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.stereotype.Service; -import java.util.Date; import java.util.UUID; import java.util.concurrent.TimeUnit; @@ -40,7 +39,6 @@ public class DownLoadProcessService { DownloadInfo info = new DownloadInfo(); info.setId(id); info.setStatus(DownConstant.DOWNLOAD_PROCESS_STATUS.STATUS_1.value()); - info.setProcessInitDate(new Date()); //更新缓存 redisTemplate.opsForValue().set(key, info, DownLoadProcessAspect.DOWNLOAD_WAITING_CACHE_EXPIRATION, TimeUnit.MINUTES); //返回ID diff --git a/udf-starter-file-aliyun-oss-api/src/main/java/org/itkk/udf/file/aliyun/oss/api/download/DownloadInfo.java b/udf-starter-file-aliyun-oss-api/src/main/java/org/itkk/udf/file/aliyun/oss/api/download/DownloadInfo.java index c4f9103..63af1aa 100644 --- a/udf-starter-file-aliyun-oss-api/src/main/java/org/itkk/udf/file/aliyun/oss/api/download/DownloadInfo.java +++ b/udf-starter-file-aliyun-oss-api/src/main/java/org/itkk/udf/file/aliyun/oss/api/download/DownloadInfo.java @@ -37,12 +37,6 @@ public class DownloadInfo { @ApiModelProperty(value = "阿里云OSS的objectKey", required = true, dataType = "string") private String objectKey; - /** - * 初始化时间 - */ - @ApiModelProperty(value = "初始化时间", required = true, dataType = "date") - private Date processInitDate; - /** * processStartDate */