Commit c8afdacd by zhanghou

修改mx2mt中AbstractMx2MtTagsGenerate类中subFunctionInstructionForCreditorAgentAndJP方法传入没有判空的逻辑

parent 01d4604b
...@@ -1591,7 +1591,9 @@ public abstract class AbstractMx2MtTagsGenerate implements Mx2MtTagsGenerate { ...@@ -1591,7 +1591,9 @@ public abstract class AbstractMx2MtTagsGenerate implements Mx2MtTagsGenerate {
} }
} }
} }
mtInstrInf = "/ACC/" + mtInstrInf.trim(); if(StringUtil.isNotEmpty(mtInstrInf)){
mtInstrInf = "/ACC/" + mtInstrInf.trim();
}
/*String regex = "(/(PHOB|HOLD|TELB)/[0-9a-zA-Z\\-\\?:\\(\\)\\.,'\\+]*)"; /*String regex = "(/(PHOB|HOLD|TELB)/[0-9a-zA-Z\\-\\?:\\(\\)\\.,'\\+]*)";
mtInstrInf = mtInstrInf.replaceAll(regex, ""); mtInstrInf = mtInstrInf.replaceAll(regex, "");
if (mtInstrInf.indexOf("/CHQB/") > -1) { if (mtInstrInf.indexOf("/CHQB/") > -1) {
......
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