...
|
...
|
@@ -44,6 +44,10 @@ public class CustomXmlHandleThread implements Runnable{ |
|
|
@Value("${custom.errBakDir}")
|
|
|
private String errBakDir;
|
|
|
|
|
|
//回执转发目录
|
|
|
@Value("${custom.transmitDir}")
|
|
|
private String transmitDir;
|
|
|
|
|
|
//匹配技术回执正则
|
|
|
@Value("${custom.delTechnologyReceptMatch}")
|
|
|
private String delTechnologyReceptMatch;
|
...
|
...
|
@@ -94,6 +98,8 @@ public class CustomXmlHandleThread implements Runnable{ |
|
|
|
|
|
customXmlHandle.delTechnologyReceptMatch = this.delTechnologyReceptMatch;
|
|
|
|
|
|
customXmlHandle.transmitDir = this.transmitDir;
|
|
|
|
|
|
// 初使化时将已静态化的testService实例化
|
|
|
}
|
|
|
|
...
|
...
|
@@ -109,6 +115,8 @@ public class CustomXmlHandleThread implements Runnable{ |
|
|
else
|
|
|
{
|
|
|
try{
|
|
|
//解析前先转发
|
|
|
FileUtils.copyFileToDirectory(xmlfile, new File(customXmlHandle.transmitDir));
|
|
|
int i =handelXmlDocument();
|
|
|
String today = DateUtil.getTodayBy_yyyyMMdd();
|
|
|
String backdireByDay = customXmlHandle.bakupDir + "/" + today;
|
...
|
...
|
|