Commit 5e8061ca by zhanghou

修改pacs002的72域

(cherry picked from commit a1c76af32ebb10f50cb1398b5acf13344fec93a5)
parent 68da06d9
......@@ -35,7 +35,6 @@ public class Pacs002001Parse72Field extends AbstractMt2MxPacs002001ParseField {
}
MapUtil.puts(txInfAndStsMaps, "orgnlGrpInf/orgnlMsgId", instdID);
txInfAndStsMaps.put("txSts", PaymentTransactionStatusCode.RJCT.value());
lines.remove(0);
String mt72 = StringUtil.joinString(lines.toArray(new String[0]), Mx2MtConstants.NEW_LINE);
mt_to_mxReject72(mt72, txInfAndStsMaps);
}
......
{1:F01FOOBARC0AXXX4402221388}{2:O1031010200908BANKANC0AXXX50363658012204281624U}{3:{111:001}{121:8a562c67-ca16-48ba-b074-65581be6f001}}{4:
:20:TBEXO12345
:72:/REJT/59
/BE04/
/MREF/Sample A
/MREF/Sample B
/CHGS/EUR20,
-}
\ No newline at end of file
......@@ -77,4 +77,9 @@ public class Mt2MxTest {
test("/swiftTxt/MT210.txt", null);
}
@Test
public void testPacs002001_103rej() {
test("/swiftTxt/MT103REJ.txt", null);
}
}
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