Commit c9e4fb02 authored by 郝彦辉's avatar 郝彦辉

D3筛选工具开发

parent 81ca39a3
......@@ -1092,6 +1092,7 @@ public class ManualToolService implements CommonSuperService {
* 创建时间: 2019.12.22 <br/>
*/
public static String remove_D3_loanId_chunfu(String oldDataFile, String cfLoanIdLogFile, String newFileName, String rmIdFileName,String rmPhoneFileName) {
try{
List<String> logicerrorList = ReadOrWriteTxt.readTxtList(cfLoanIdLogFile);
Map<String,String> err_log_loanIdMap = new HashMap<>(logicerrorList.size());
for (String strs : logicerrorList){
......@@ -1151,8 +1152,12 @@ public class ManualToolService implements CommonSuperService {
}
log.info("remove_D3_loanId_chunfu end, lineList="+lineList.size()+",totalCount="+totalCount+",removeCount="+removeCount+",removeCount2="+removeCount2+
", 合="+(totalCount+removeCount+removeCount2));
return "lineList="+lineList.size()+",totalCount="+totalCount+",removeCount="+removeCount+",removeCount2="+removeCount2+ ", 合="+(totalCount+removeCount+removeCount2);
}catch (Exception e){
log.error("check_D3loanId_InD2 Error,",e);
}
return null;
}
/**
......@@ -1163,6 +1168,7 @@ public class ManualToolService implements CommonSuperService {
* 创建时间: 2019.12.22 <br/>
*/
public static String check_D3loanId_InD2(String d3LoanIdFile, String d2File, String inFileName, String notInFileName) {
try{
List<String> d2DataList = ReadOrWriteTxt.readTxtList(d2File);
Map<String,String> d2_loanIdMap = new HashMap<>(d2DataList.size());
int d2size = 0;
......@@ -1215,6 +1221,10 @@ public class ManualToolService implements CommonSuperService {
}
log.info("d3LoanIdList="+d3LoanIdList.size()+",d2_loanIdMap="+d2_loanIdMap.size()+",in="+in+",notin="+notin);
return "d3LoanIdList="+d3LoanIdList.size()+",d2_loanIdMap="+d2_loanIdMap.size()+",in="+in+",notin="+notin;
}catch (Exception e){
log.error("check_D3loanId_InD2 Error,",e);
}
return null;
}
/**
......@@ -1225,6 +1235,7 @@ public class ManualToolService implements CommonSuperService {
* 创建时间: 2019.12.22 <br/>
*/
public static String check_D2loanId_InD3WanJie(String d3LoanIdFile, String d2File, String notWJFileName) {
try{
List<String> d2DataList = ReadOrWriteTxt.readTxtList(d2File);
Map<String,String> d2_loanIdMap = new HashMap<>(d2DataList.size());
int d2size=0;
......@@ -1303,6 +1314,10 @@ public class ManualToolService implements CommonSuperService {
}
return "check_D2loanId_InD3WanJie d2_loanIdMapSize:"+d2_loanIdMapSize+",d2rmCount="+d2rmCount+",d2have="+d2_loanIdMap.size();
}catch (Exception e){
log.error("check_D3loanId_InD2 Error,",e);
}
return null;
}
......@@ -1748,9 +1763,8 @@ public class ManualToolService implements CommonSuperService {
logicerror_035_List = null;
manualGC();
String[] all_id3_fileNames = {"ok1_D3_20161101_20180801.txt","ok2_D3_20180801_20181117.txt","ok3_D3_20181117_20190201.txt",
"ok4_D3_20190201_20190410.txt","ok5_D3_20190410_20190701.txt","ok6_D3_20190701_20190910.txt","ok9_D3_20191025_0027.txt"};
//"ok1_D3_20161101_20180801.txt","ok2_D3_20180801_20181117.txt","ok3_D3_20181117_20190201.txt", "ok4_D3_20190201_20190410.txt","ok5_D3_20190410_20190701.txt","ok6_D3_20190701_20190910.txt","ok9_D3_20191025_0027.txt"
String[] all_id3_fileNames = {"ok6_D3_20190701_20190910.txt","ok9_D3_20191025_0027.txt"};
List<String> d3lineList = null;
RepaymentInfoZhuDai repaymentLoanInfo = null;
......@@ -1789,6 +1803,9 @@ public class ManualToolService implements CommonSuperService {
}
}
System.out.println(fileName+":build D3 end.");
d3lineList = null;
repaymentLoanInfo = null;
manualGC();
}
System.out.println("All d3_logicerror_20191223() 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