Commit 32395c3b by chengzhuoshen

修改MX103报文要素展示代码

parent adafc165
......@@ -42,7 +42,12 @@ public class Mx2MapPacs008Creator extends AbstractMx2MapCreator {
maps.put(getPropertyValue("uetr"), elementMaps.get("uetr"));
}
if (elementMaps.get("sttlmMtd") != null) {
maps.put(getPropertyValue("settlement.method"), elementMaps.get("sttlmMtd"));
String settlementMethod = (String) elementMaps.get("sttlmMtd");
if (SettlementMethodCode.COVE.value().equals(settlementMethod)) {
maps.put(getPropertyValue("settlement.method"), elementMaps.get("sttlmMtd") + "("+getPropertyValue("doubleMessage")+")");
} else {
maps.put(getPropertyValue("settlement.method"), elementMaps.get("sttlmMtd") + "("+getPropertyValue("simpleMessage")+")");
}
}
if (elementMaps.get("sttlmAcctIdIban") != null) {
maps.put(getPropertyValue("settlement.acct"), elementMaps.get("sttlmAcctIdIban"));
......
......@@ -41,6 +41,8 @@ settlement.amt=\u53d1\u6c47\u91d1\u989d
original.settlement.amt=\u6536\u6c47\u91d1\u989d
exchange.rate=\u6c47\u7387
ccy=\u5e01\u79cd
doubleMessage=\u53cc\u62a5
simpleMessage=\u5355\u62a5
creditTransferInfo=\u6c47\u7968\u57fa\u7840\u4fe1\u606f
dbtrInfo=\u6c47\u6b3e\u65b9\u4fe1\u606f
dbtrAgtInfo=\u6c47\u6b3e\u884c\u4fe1\u606f
......
......@@ -41,6 +41,8 @@ settlement.amt=Interbank Settlement Amount
original.settlement.amt=Instructed Amount
exchange.rate=Exchange Rate
ccy=Currency
doubleMessage=Double Mesage
simpleMessage=Simple Message
creditTransferInfo=Credit Transfer Info
dbtrInfo=Debtor
dbtrAgtInfo=Debtor Agent
......
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