|
@@ -363,8 +363,8 @@ public class ScFileDownloadService {
|
|
|
|
|
|
StringUtils.subString(fromDt, 10);
|
|
|
init();
|
|
|
- String fileName = "IMGN_DTCT_RAW_CLCT_" + StringUtils.subString(fromDt, 10) + "_" + StringUtils.subString(toDt, 10) + this.csvFileExtension;
|
|
|
- String createFileName = this.createFilePath + "IMGN_DTCT_RAW_CLCT_" + StringUtils.subString(fromDt, 10) + "_" + StringUtils.subString(toDt, 10) + "_" + (System.currentTimeMillis() / 1000) + this.csvFileExtension;
|
|
|
+ String fileName = "IMGN_DTCT_RAW_CLCT_" + StringUtils.subString(fromDt, 12) + "_" + StringUtils.subString(toDt, 12) + this.csvFileExtension;
|
|
|
+ String createFileName = this.createFilePath + "IMGN_DTCT_RAW_CLCT_" + StringUtils.subString(fromDt, 12) + "_" + StringUtils.subString(toDt, 12) + "_" + (System.currentTimeMillis() / 1000) + this.csvFileExtension;
|
|
|
Path fullFilePath = Paths.get(this.systemDir, createFileName);
|
|
|
|
|
|
String[] csvHeader = {"CLCT_DT",
|
|
@@ -441,8 +441,8 @@ public class ScFileDownloadService {
|
|
|
public ResponseEntity<Object> downloadAcrdHhStat(HttpServletRequest request, HttpServletResponse response, String fromDt, String toDt) {
|
|
|
|
|
|
init();
|
|
|
- String fileName = "ACRD_HH_STAT_" + StringUtils.subString(fromDt, 10) + "_" + StringUtils.subString(toDt, 10) + this.csvFileExtension;
|
|
|
- String createFileName = this.createFilePath + "ACRD_HH_STAT_" + StringUtils.subString(fromDt, 10) + "_" + StringUtils.subString(toDt, 10) + "_" + (System.currentTimeMillis() / 1000) + this.csvFileExtension;
|
|
|
+ String fileName = "ACRD_HH_STAT_" + StringUtils.subString(fromDt, 12) + "_" + StringUtils.subString(toDt, 12) + this.csvFileExtension;
|
|
|
+ String createFileName = this.createFilePath + "ACRD_HH_STAT_" + StringUtils.subString(fromDt, 12) + "_" + StringUtils.subString(toDt, 12) + "_" + (System.currentTimeMillis() / 1000) + this.csvFileExtension;
|
|
|
Path fullFilePath = Paths.get(this.systemDir, createFileName);
|
|
|
|
|
|
String[] csvHeader = {"CLCT_DT",
|