|
|
@@ -264,13 +264,21 @@ public class DealExcelServiceImpl {
|
|
|
}
|
|
|
}
|
|
|
log.info("业务号匹配完成:待匹配{}条,成功匹配{}条", list.size(), matched);
|
|
|
- return list;
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
|
|
|
|
|
|
+// //todo 这里可以进行删除
|
|
|
+// for(Map<String,String> map : list){
|
|
|
+// String ywh = map.get("ywh");
|
|
|
+// String bdcdyh = map.get("bdcdyh");
|
|
|
+// bdcdyh = bdcdyh.substring(0, SUB_BDCDYH_LENGTH);
|
|
|
+// if(StringUtils.isBlank(ywh)){
|
|
|
+// continue;
|
|
|
+// }
|
|
|
+// writeToLog("bdc_excel_house.txt", ywh+"||" + bdcdyh);
|
|
|
+// }
|
|
|
|
|
|
+ return list;
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
|
|
@@ -296,6 +304,17 @@ public class DealExcelServiceImpl {
|
|
|
bdcExcelData.put("ywh", bizNo);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+// //todo 这里可以进行删除
|
|
|
+// for(Map<String,String> map : list){
|
|
|
+// String ywh = map.get("ywh");
|
|
|
+// String bdcdyh = map.get("bdcdyh");
|
|
|
+// if(StringUtils.isBlank(ywh)){
|
|
|
+// continue;
|
|
|
+// }
|
|
|
+// writeToLog("bdc_excel_land.txt", ywh+"||" + bdcdyh);
|
|
|
+// }
|
|
|
+
|
|
|
return list;
|
|
|
}
|
|
|
|
|
|
@@ -1463,7 +1482,7 @@ public class DealExcelServiceImpl {
|
|
|
// 时间戳 + msg
|
|
|
String timestamp = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date());
|
|
|
//String logEntry = timestamp + " " + msg + System.lineSeparator();
|
|
|
- String logEntry = msg;
|
|
|
+ String logEntry = msg+System.lineSeparator();
|
|
|
// 追加写入
|
|
|
FileUtils.writeStringToFile(file, logEntry, StandardCharsets.UTF_8, true);
|
|
|
return "成功";
|