Commit 83ca1a52 by chengzhuoshen

fix mx2Map code

parent f0cf7fb4
...@@ -77,9 +77,9 @@ public class Field61Generate extends AbstractMx2MtTagsGenerate { ...@@ -77,9 +77,9 @@ public class Field61Generate extends AbstractMx2MtTagsGenerate {
value += "NTRF"; value += "NTRF";
String endToEndId = getXmlNodeValue(bodyHdrParentElementName, document, "Stmt.Ntry("+i+").NtryDtls.TxDtls.Refs.EndToEndId"); String endToEndId = getXmlNodeValue(bodyHdrParentElementName, document, "Stmt.Ntry("+i+").NtryDtls.TxDtls.Refs.EndToEndId");
if (StringUtil.isNotEmpty(endToEndId)) { if (StringUtil.isNotEmpty(endToEndId)) {
if (endToEndId.length() > 16) { /* if (endToEndId.length() > 16) {
endToEndId = endToEndId.substring(0, 15) + "+"; endToEndId = endToEndId.substring(0, 15) + "+";
} }*/ //邮储的版本前置需要950的61进行对账,需要完整的endToEndId
value += endToEndId; value += endToEndId;
} else { } else {
value += Mx2MtConstants.MT_21_DEFAULT_VALUE; value += Mx2MtConstants.MT_21_DEFAULT_VALUE;
......
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