Commit 60444d21 authored by 郝彦辉's avatar 郝彦辉

D3存量工具

parent 4ba01391
...@@ -1023,7 +1023,7 @@ public class ManualToolService implements CommonSuperService { ...@@ -1023,7 +1023,7 @@ public class ManualToolService implements CommonSuperService {
public static void buildD3_logicerror() { public static void buildD3_logicerror() {
//"D3_041", 贷款账户编号loanId+还款期数termNo+还款状态确认时间statusConfirmAt+业务发生机构代码在还款记录中唯一。 //"D3_041", 贷款账户编号loanId+还款期数termNo+还款状态确认时间statusConfirmAt+业务发生机构代码在还款记录中唯一。
List<String> logicerrorList = ReadOrWriteTxt.readTxtList("D:\\用户目录\\Downloads\\生产p2p\\err041_6.log"); List<String> logicerrorList = ReadOrWriteTxt.readTxtList("D:\\用户目录\\Downloads\\生产p2p\\err041_7.log");
Map<String,String> err_log_loanIdMap = new HashMap<>(logicerrorList.size()); Map<String,String> err_log_loanIdMap = new HashMap<>(logicerrorList.size());
for (String strs : logicerrorList){ for (String strs : logicerrorList){
String[] tmpArr = strs.split("[|]"); String[] tmpArr = strs.split("[|]");
...@@ -1032,13 +1032,13 @@ public class ManualToolService implements CommonSuperService { ...@@ -1032,13 +1032,13 @@ public class ManualToolService implements CommonSuperService {
System.out.println("err_log_loanIdMap 大小:"+err_log_loanIdMap.size()); System.out.println("err_log_loanIdMap 大小:"+err_log_loanIdMap.size());
List<String> lineList = ReadOrWriteTxt.readTxtList("D:\\用户目录\\Downloads\\生产p2p\\sc_D3_20190701_20190910_6.txt"); List<String> lineList = ReadOrWriteTxt.readTxtList("D:\\用户目录\\Downloads\\生产p2p\\sc_D3_20190910_20191012_7.txt");
System.out.println("lineList:"+lineList.size()); System.out.println("lineList:"+lineList.size());
String ok_fileName = "D:\\用户目录\\Downloads\\生产p2p\\bulid_ok\\" + "ok7_D3_20190910_20191012.txt";
String ok_fileName = "D:\\用户目录\\Downloads\\生产p2p\\bulid_ok\\" + "ok6_D3_20190701_20190910_6.txt";
String err_D3_041_fileName = "D:\\用户目录\\Downloads\\生产p2p\\remove\\" + "rm6_e041.txt"; String err_D3_041_fileName = "D:\\用户目录\\Downloads\\生产p2p\\remove\\" + "rm7_e041.txt";
String err_30003_fileName = "D:\\用户目录\\Downloads\\生产p2p\\remove\\" + "rm6_e30003.txt"; String err_30003_fileName = "D:\\用户目录\\Downloads\\生产p2p\\remove\\" + "rm7_e30003.txt";
int totalCount = 0,removeCount=0,removeCount2=0; int totalCount = 0,removeCount=0,removeCount2=0;
for(int i=0;i<lineList.size();i++){ for(int i=0;i<lineList.size();i++){
......
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