...
|
...
|
@@ -55,19 +55,17 @@ public class IMFSaveHandle { |
|
|
String sndrm = meta.get("SNDR").toString();
|
|
|
String stypm = meta.get("STYP").toString();
|
|
|
|
|
|
|
|
|
|
|
|
if ("TXD".equals(sndrm)){
|
|
|
if("EDEP".equals(stypm)
|
|
|
|| "EFOH".equals(stypm)
|
|
|
|| "ERCF".equals(stypm)
|
|
|
|| "PFFM".equals(stypm)
|
|
|
|| "UDEP".equals(stypm)
|
|
|
|| "UFOH".equals(stypm)
|
|
|
|| "URCF".equals(stypm)
|
|
|
|| "FFM".equals(stypm)
|
|
|
|| "IFWB".equals(stypm)
|
|
|
|| "IFHL".equals(stypm)){
|
|
|
//存储至备份目录
|
|
|
FileTool.writeFileToBak(xmlmessage);
|
|
|
//读取配置文件的需要本地存储报文的节点
|
|
|
String saveStyp= FileTool.readProperties("saveStyp");
|
|
|
String[] styps = saveStyp.split(",");
|
|
|
for (String item: styps) {
|
|
|
if (item.equals(stypm)){
|
|
|
//存储至备份目录
|
|
|
FileTool.writeFileToBak(xmlmessage);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|