Commit 6afedd78 by lixinyi

根据南商要求删除发报行修改逻辑

parent e8fcfa39
...@@ -364,14 +364,15 @@ public abstract class AbstractMx2MtCreator implements Mx2MtCreator { ...@@ -364,14 +364,15 @@ public abstract class AbstractMx2MtCreator implements Mx2MtCreator {
receiverBic = getXmlNodeValue(appHdrParentPath, document, "AppHdr.To.FIId.FinInstnId.BICFI"); receiverBic = getXmlNodeValue(appHdrParentPath, document, "AppHdr.To.FIId.FinInstnId.BICFI");
} }
String service = (String) context.get(Mx2MtContextIdentifier.MX_TO_MT_SERVICE); String service = (String) context.get(Mx2MtContextIdentifier.MX_TO_MT_SERVICE);
if(!StringUtil.isEmpty(service)&&!"swift.finplus".equals(service)){ //根据南商要求暂时删除此逻辑
StringBuilder replaceSenderBic = new StringBuilder(senderBic); // if(!StringUtil.isEmpty(service)&&!"swift.finplus".equals(service)){
replaceSenderBic.replace(7,8,"0"); // StringBuilder replaceSenderBic = new StringBuilder(senderBic);
StringBuilder replaceReceiverBic = new StringBuilder(receiverBic); // replaceSenderBic.replace(7,8,"0");
replaceReceiverBic.replace(7,8,"0"); // StringBuilder replaceReceiverBic = new StringBuilder(receiverBic);
senderBic = replaceSenderBic.toString(); // replaceReceiverBic.replace(7,8,"0");
receiverBic = replaceReceiverBic.toString(); // senderBic = replaceSenderBic.toString();
} // receiverBic = replaceReceiverBic.toString();
// }
context.set(Mx2MtContextIdentifier.MX_SENDER_BIC, senderBic); context.set(Mx2MtContextIdentifier.MX_SENDER_BIC, senderBic);
context.set(Mx2MtContextIdentifier.MX_RECEIVER_BIC, receiverBic); context.set(Mx2MtContextIdentifier.MX_RECEIVER_BIC, receiverBic);
String applicationMode = (String)context.get(Mx2MtConstants.APPLICATION_MODE, true); String applicationMode = (String)context.get(Mx2MtConstants.APPLICATION_MODE, true);
......
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