Commit fee920e4 authored by haoyanhui's avatar haoyanhui

方法整理&优化

parent 3dccc655
......@@ -27,6 +27,7 @@ import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
import java.io.*;
......@@ -1811,7 +1812,7 @@ public class ManualToolService implements CommonSuperService {
System.out.println("All d3_logicerror_20191223() end.");
}
@Async
public void newD3ReplaceReqId(String newD3FilePath, String newD3FileNames, String oldD3ReqIdFile, String mapNotEmptyFile) {
try{
List<String> oldD3ReqIdFileList = ReadOrWriteTxt.readTxtList(oldD3ReqIdFile);
......@@ -1828,13 +1829,12 @@ public class ManualToolService implements CommonSuperService {
log.info("newD3ReplaceReqId listSize: {} , mapSize: {} ", oldD3ReqIdFileList.size(), oldD3_reqIdMap.size());
oldD3ReqIdFileList = null;
String[] all_id3_fileNames = newD3FileNames.split(",");
List<String> d3lineList = null;
RepaymentInfoZhuDai repaymentLoanInfo = null;
for(String fileName : all_id3_fileNames){
log.info("THE FILENAME:"+fileName);
if(!newD3FilePath.endsWith("/") && !newD3FilePath.endsWith("\\")){
newD3FilePath = newD3FilePath + "/";
}
......@@ -1894,7 +1894,7 @@ public class ManualToolService implements CommonSuperService {
}
}catch (Exception e){
log.error("newD3ReplaceReqId Error",e);
log.error("newD3ReplaceReqId 异常",e);
}
log.info("All newD3ReplaceReqId() end.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment