|
@@ -5,6 +5,7 @@ import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
+import java.time.LocalDate;
|
|
|
import java.util.UUID;
|
|
|
|
|
|
/**
|
|
@@ -17,6 +18,10 @@ public class CommonService {
|
|
|
private String filesPath;
|
|
|
|
|
|
public String getExcelFilePath(String filename) {
|
|
|
- return filesPath + "/" + ToolUtil.encodingExcelFilename(filename);
|
|
|
+ return filesPath + "/excel/"+ ToolUtil.encodingExcelFilename(filename);
|
|
|
+ }
|
|
|
+
|
|
|
+ private String getPath() {
|
|
|
+ return "/" + LocalDate.now().toString().replace("-", "/") + "/";
|
|
|
}
|
|
|
}
|