Commit ac6fc97f by lixinyi

拟报增加序号

parent ff7ff030
...@@ -17233,6 +17233,65 @@ const MsgCodes = { ...@@ -17233,6 +17233,65 @@ const MsgCodes = {
label : "Telecom", label : "Telecom",
value : "TELB" value : "TELB"
} ], } ],
proprietary111: [ {
label : "GODX-货物贸易",
value : "GODX"
}, {
label : "STRX-服务贸易",
value : "STRX"
},{
label : "CTFX-资本项下",
value : "CTFX"
},{
label : "RMTX-个人汇款",
value : "RMTX"
}, {
label : "OTFX-其他",
value : "OTFX"
}, {
label : "WMCN-跨进理财通-北向通",
value : "WMCN"
}, {
label : "WMCS-跨境理财通-南向通",
value : "WMCS"
} ],
proprietary112: [ {
label : "GODX-货物贸易",
value : "GODX"
}, {
label : "STRX-服务贸易",
value : "STRX"
},{
label : "CTFX-资本项下",
value : "CTFX"
},{
label : "RMTX-个人汇款",
value : "RMTX"
}, {
label : "BINP-债券付息",
value : "BINP"
}, {
label : "FIFX-金融机构头寸调拨",
value : "FIFX"
}, {
label : "BDES-债卷还本付息",
value : "BDES"
}, {
label : "BPRR-债券还本金",
value : "BPRR"
}, {
label : "BISF-债卷发行手续费",
value : "BISF"
}, {
label : "BCAF-债卷兑付手续费",
value : "BCAF"
}, {
label : "CBCF-附息式债卷兑付手续费",
value : "CBCF"
},{
label : "OTFX-其他",
value : "OTFX"
},],
}; };
export default MsgCodes; export default MsgCodes;
\ No newline at end of file
export default [ export default [
{ {
path: "0", path: "0",
name: "Message root", name: "1. Message root",
label: "Message root", label: "Message root",
tag: "FIToFICstmrCdtTrf", tag: "FIToFICstmrCdtTrf",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.0", path: "0.0",
name: "GroupHeader", name: "2. GroupHeader",
label: "GroupHeader", label: "GroupHeader",
tag: "GrpHdr", tag: "GrpHdr",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.0.0", path: "0.0.0",
name: "MessageIdentification", name: "3. MessageIdentification",
label: "MessageIdentification", label: "MessageIdentification",
tag: "MsgId", tag: "MsgId",
type: "TextInput", type: "TextInput",
...@@ -26,7 +26,7 @@ export default [ ...@@ -26,7 +26,7 @@ export default [
}, },
{ {
path: "0.0.1", path: "0.0.1",
name: "CreationDateTime", name: "4. CreationDateTime",
label: "CreationDateTime", label: "CreationDateTime",
tag: "CreDtTm", tag: "CreDtTm",
type: "DateTime", type: "DateTime",
...@@ -34,7 +34,7 @@ export default [ ...@@ -34,7 +34,7 @@ export default [
}, },
{ {
path: "0.0.2", path: "0.0.2",
name: "NumberOfTransactions", name: "5. NumberOfTransactions",
label: "NumberOfTransactions", label: "NumberOfTransactions",
tag: "NbOfTxs", tag: "NbOfTxs",
type: "TextInput", type: "TextInput",
...@@ -44,14 +44,14 @@ export default [ ...@@ -44,14 +44,14 @@ export default [
}, },
{ {
path: "0.0.3", path: "0.0.3",
name: "SettlementInformation", name: "6. SettlementInformation",
label: "SettlementInformation", label: "SettlementInformation",
tag: "SttlmInf", tag: "SttlmInf",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.0.3.0", path: "0.0.3.0",
name: "SettlementMethod", name: "7. SettlementMethod",
label: "SettlementMethod", label: "SettlementMethod",
tag: "SttlmMtd", tag: "SttlmMtd",
type: "TextInput", type: "TextInput",
...@@ -65,21 +65,21 @@ export default [ ...@@ -65,21 +65,21 @@ export default [
}, },
{ {
path: "0.1", path: "0.1",
name: "CreditTransferTransactionInformation", name: "8. CreditTransferTransactionInformation",
label: "CreditTransferTransactionInformation", label: "CreditTransferTransactionInformation",
tag: "CdtTrfTxInf", tag: "CdtTrfTxInf",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.0", path: "0.1.0",
name: "PaymentIdentification", name: "9. PaymentIdentification",
label: "PaymentIdentification", label: "PaymentIdentification",
tag: "PmtId", tag: "PmtId",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.0.0", path: "0.1.0.0",
name: "EndToEndIdentification", name: "10. EndToEndIdentification",
label: "EndToEndIdentification", label: "EndToEndIdentification",
tag: "EndToEndId", tag: "EndToEndId",
type: "TextInput", type: "TextInput",
...@@ -89,7 +89,7 @@ export default [ ...@@ -89,7 +89,7 @@ export default [
}, },
{ {
path: "0.1.0.1", path: "0.1.0.1",
name: "TransactionIdentification", name: "11. TransactionIdentification",
label: "TransactionIdentification", label: "TransactionIdentification",
tag: "TxId", tag: "TxId",
type: "TextInput", type: "TextInput",
...@@ -101,21 +101,21 @@ export default [ ...@@ -101,21 +101,21 @@ export default [
}, },
{ {
path: "0.1.1", path: "0.1.1",
name: "PaymentTypeInformation", name: "12. PaymentTypeInformation",
label: "PaymentTypeInformation", label: "PaymentTypeInformation",
tag: "PmtTpInf", tag: "PmtTpInf",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.1.0", path: "0.1.1.0",
name: "CategoryPurpose", name: "13. CategoryPurpose",
label: "CategoryPurpose", label: "CategoryPurpose",
tag: "CtgyPurp", tag: "CtgyPurp",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.1.0.0", path: "0.1.1.0.0",
name: "Proprietary", name: "14. Proprietary",
label: "Proprietary", label: "Proprietary",
tag: "Prtry", tag: "Prtry",
type: "Select#proprietary111", type: "Select#proprietary111",
...@@ -128,7 +128,7 @@ export default [ ...@@ -128,7 +128,7 @@ export default [
}, },
{ {
path: "0.1.2", path: "0.1.2",
name: "InterbankSettlementAmount", name: "15. InterbankSettlementAmount",
label: "InterbankSettlementAmount", label: "InterbankSettlementAmount",
tag: "IntrBkSttlmAmt", tag: "IntrBkSttlmAmt",
type: "AmountCIPS#18,5", type: "AmountCIPS#18,5",
...@@ -136,7 +136,7 @@ export default [ ...@@ -136,7 +136,7 @@ export default [
}, },
{ {
path: "0.1.3", path: "0.1.3",
name: "InterbankSettlementDate", name: "16. InterbankSettlementDate",
label: "InterbankSettlementDate", label: "InterbankSettlementDate",
tag: "IntrBkSttlmDt", tag: "IntrBkSttlmDt",
type: "Date", type: "Date",
...@@ -144,7 +144,7 @@ export default [ ...@@ -144,7 +144,7 @@ export default [
}, },
{ {
path: "0.1.4", path: "0.1.4",
name: "SettlementPriority", name: "17. SettlementPriority",
label: "SettlementPriority", label: "SettlementPriority",
tag: "SttlmPrty", tag: "SttlmPrty",
type: "Select#priority3Code", type: "Select#priority3Code",
...@@ -152,14 +152,14 @@ export default [ ...@@ -152,14 +152,14 @@ export default [
}, },
{ {
path: "0.1.5", path: "0.1.5",
name: "SettlementTimeIndication", name: "18. SettlementTimeIndication",
label: "SettlementTimeIndication", label: "SettlementTimeIndication",
tag: "SttlmTmIndctn", tag: "SttlmTmIndctn",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.5.0", path: "0.1.5.0",
name: "DebitDateTime", name: "19. DebitDateTime",
label: "DebitDateTime", label: "DebitDateTime",
tag: "DbtDtTm", tag: "DbtDtTm",
type: "DateTime", type: "DateTime",
...@@ -169,7 +169,7 @@ export default [ ...@@ -169,7 +169,7 @@ export default [
}, },
{ {
path: "0.1.6", path: "0.1.6",
name: "InstructedAmount", name: "20. InstructedAmount",
label: "InstructedAmount", label: "InstructedAmount",
tag: "InstdAmt", tag: "InstdAmt",
type: "AmountCIPS#18,5", type: "AmountCIPS#18,5",
...@@ -177,7 +177,7 @@ export default [ ...@@ -177,7 +177,7 @@ export default [
}, },
{ {
path: "0.1.7", path: "0.1.7",
name: "ExchangeRate", name: "21. ExchangeRate",
label: "ExchangeRate", label: "ExchangeRate",
tag: "XchgRate", tag: "XchgRate",
type: "Decimal#11,10", type: "Decimal#11,10",
...@@ -185,7 +185,7 @@ export default [ ...@@ -185,7 +185,7 @@ export default [
}, },
{ {
path: "0.1.8", path: "0.1.8",
name: "ChargeBearer", name: "22. ChargeBearer",
label: "ChargeBearer", label: "ChargeBearer",
tag: "ChrgBr", tag: "ChrgBr",
type: "Select#ChargeBearerType1Code", type: "Select#ChargeBearerType1Code",
...@@ -194,7 +194,7 @@ export default [ ...@@ -194,7 +194,7 @@ export default [
}, },
{ {
path: "0.1.9", path: "0.1.9",
name: "ChargesInformation", name: "23. ChargesInformation",
label: "ChargesInformation", label: "ChargesInformation",
tag: "ChrgsInf", tag: "ChrgsInf",
status: "O", status: "O",
...@@ -202,7 +202,7 @@ export default [ ...@@ -202,7 +202,7 @@ export default [
children: [ children: [
{ {
path: "0.1.9.0", path: "0.1.9.0",
name: "Amount", name: "24. Amount",
label: "Amount", label: "Amount",
tag: "Amt", tag: "Amt",
type: "AmountCIPS#18,5", type: "AmountCIPS#18,5",
...@@ -210,28 +210,28 @@ export default [ ...@@ -210,28 +210,28 @@ export default [
}, },
{ {
path: "0.1.9.1", path: "0.1.9.1",
name: "Agent", name: "25. Agent",
label: "Agent", label: "Agent",
tag: "Agt", tag: "Agt",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.9.1.0", path: "0.1.9.1.0",
name: "FinancialInstitutionIdentification", name: "26. FinancialInstitutionIdentification",
label: "FinancialInstitutionIdentification", label: "FinancialInstitutionIdentification",
tag: "FinInstnId", tag: "FinInstnId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.9.1.0.0", path: "0.1.9.1.0.0",
name: "ClearingSystemMemberIdentification", name: "27. ClearingSystemMemberIdentification",
label: "ClearingSystemMemberIdentification", label: "ClearingSystemMemberIdentification",
tag: "ClrSysMmbId", tag: "ClrSysMmbId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.9.1.0.0.0", path: "0.1.9.1.0.0.0",
name: "MemberIdentification", name: "28. MemberIdentification",
label: "MemberIdentification", label: "MemberIdentification",
tag: "MmbId", tag: "MmbId",
type: "TextInput", type: "TextInput",
...@@ -248,28 +248,28 @@ export default [ ...@@ -248,28 +248,28 @@ export default [
}, },
{ {
path: "0.1.10", path: "0.1.10",
name: "InstructingAgent", name: "29. InstructingAgent",
label: "InstructingAgent", label: "InstructingAgent",
tag: "InstgAgt", tag: "InstgAgt",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.10.0", path: "0.1.10.0",
name: "FinancialInstitutionIdentification", name: "30. FinancialInstitutionIdentification",
label: "FinancialInstitutionIdentification", label: "FinancialInstitutionIdentification",
tag: "FinInstnId", tag: "FinInstnId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.10.0.0", path: "0.1.10.0.0",
name: "ClearingSystemMemberIdentification", name: "31. ClearingSystemMemberIdentification",
label: "ClearingSystemMemberIdentification", label: "ClearingSystemMemberIdentification",
tag: "ClrSysMmbId", tag: "ClrSysMmbId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.10.0.0.0", path: "0.1.10.0.0.0",
name: "MemberIdentification", name: "32. MemberIdentification",
label: "MemberIdentification", label: "MemberIdentification",
tag: "MmbId", tag: "MmbId",
type: "TextInput", type: "TextInput",
...@@ -284,14 +284,14 @@ export default [ ...@@ -284,14 +284,14 @@ export default [
}, },
{ {
path: "0.1.10.1", path: "0.1.10.1",
name: "BranchIdentification", name: "33. BranchIdentification",
label: "BranchIdentification", label: "BranchIdentification",
tag: "BrnchId", tag: "BrnchId",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.10.1.0", path: "0.1.10.1.0",
name: "Identification", name: "34. Identification",
label: "Identification", label: "Identification",
tag: "Id", tag: "Id",
type: "TextInput", type: "TextInput",
...@@ -304,28 +304,28 @@ export default [ ...@@ -304,28 +304,28 @@ export default [
}, },
{ {
path: "0.1.11", path: "0.1.11",
name: "InstructedAgent", name: "35. InstructedAgent",
label: "InstructedAgent", label: "InstructedAgent",
tag: "InstdAgt", tag: "InstdAgt",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.11.0", path: "0.1.11.0",
name: "FinancialInstitutionIdentification", name: "36. FinancialInstitutionIdentification",
label: "FinancialInstitutionIdentification", label: "FinancialInstitutionIdentification",
tag: "FinInstnId", tag: "FinInstnId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.11.0.0", path: "0.1.11.0.0",
name: "ClearingSystemMemberIdentification", name: "37. ClearingSystemMemberIdentification",
label: "ClearingSystemMemberIdentification", label: "ClearingSystemMemberIdentification",
tag: "ClrSysMmbId", tag: "ClrSysMmbId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.11.0.0.0", path: "0.1.11.0.0.0",
name: "MemberIdentification", name: "38. MemberIdentification",
label: "MemberIdentification", label: "MemberIdentification",
tag: "MmbId", tag: "MmbId",
type: "TextInput", type: "TextInput",
...@@ -340,28 +340,28 @@ export default [ ...@@ -340,28 +340,28 @@ export default [
}, },
{ {
path: "0.1.12", path: "0.1.12",
name: "IntermediaryAgent1", name: "41. IntermediaryAgent1",
label: "IntermediaryAgent1", label: "IntermediaryAgent1",
tag: "IntrmyAgt1", tag: "IntrmyAgt1",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.12.0", path: "0.1.12.0",
name: "FinancialInstitutionIdentification", name: "42. FinancialInstitutionIdentification",
label: "FinancialInstitutionIdentification", label: "FinancialInstitutionIdentification",
tag: "FinInstnId", tag: "FinInstnId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.12.0.0", path: "0.1.12.0.0",
name: "ClearingSystemMemberIdentification", name: "43. ClearingSystemMemberIdentification",
label: "ClearingSystemMemberIdentification", label: "ClearingSystemMemberIdentification",
tag: "ClrSysMmbId", tag: "ClrSysMmbId",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.12.0.0.0", path: "0.1.12.0.0.0",
name: "MemberIdentification", name: "44. MemberIdentification",
label: "MemberIdentification", label: "MemberIdentification",
tag: "MmbId", tag: "MmbId",
type: "TextInput", type: "TextInput",
...@@ -372,7 +372,7 @@ export default [ ...@@ -372,7 +372,7 @@ export default [
}, },
{ {
path: "0.1.12.0.1", path: "0.1.12.0.1",
name: "Name", name: "45. Name",
label: "Name", label: "Name",
tag: "Nm", tag: "Nm",
type: "TextInput", type: "TextInput",
...@@ -385,28 +385,28 @@ export default [ ...@@ -385,28 +385,28 @@ export default [
}, },
{ {
path: "0.1.13", path: "0.1.13",
name: "IntermediaryAgent2", name: "46. IntermediaryAgent2",
label: "IntermediaryAgent2", label: "IntermediaryAgent2",
tag: "IntrmyAgt2", tag: "IntrmyAgt2",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.13.0", path: "0.1.13.0",
name: "FinancialInstitutionIdentification", name: "47. FinancialInstitutionIdentification",
label: "FinancialInstitutionIdentification", label: "FinancialInstitutionIdentification",
tag: "FinInstnId", tag: "FinInstnId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.13.0.0", path: "0.1.13.0.0",
name: "ClearingSystemMemberIdentification", name: "48. ClearingSystemMemberIdentification",
label: "ClearingSystemMemberIdentification", label: "ClearingSystemMemberIdentification",
tag: "ClrSysMmbId", tag: "ClrSysMmbId",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.13.0.0.0", path: "0.1.13.0.0.0",
name: "MemberIdentification", name: "49. MemberIdentification",
label: "MemberIdentification", label: "MemberIdentification",
tag: "MmbId", tag: "MmbId",
type: "TextInput", type: "TextInput",
...@@ -417,7 +417,7 @@ export default [ ...@@ -417,7 +417,7 @@ export default [
}, },
{ {
path: "0.1.13.0.1", path: "0.1.13.0.1",
name: "Name", name: "50. Name",
label: "Name", label: "Name",
tag: "Nm", tag: "Nm",
type: "TextInput", type: "TextInput",
...@@ -430,14 +430,14 @@ export default [ ...@@ -430,14 +430,14 @@ export default [
}, },
{ {
path: "0.1.14", path: "0.1.14",
name: "Debtor", name: "51. Debtor",
label: "Debtor", label: "Debtor",
tag: "Dbtr", tag: "Dbtr",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.14.0", path: "0.1.14.0",
name: "Name", name: "52. Name",
label: "Name", label: "Name",
tag: "Nm", tag: "Nm",
type: "TextInput", type: "TextInput",
...@@ -446,14 +446,14 @@ export default [ ...@@ -446,14 +446,14 @@ export default [
}, },
{ {
path: "0.1.14.1", path: "0.1.14.1",
name: "PostalAddress", name: "53. PostalAddress",
label: "PostalAddress", label: "PostalAddress",
tag: "PstlAdr", tag: "PstlAdr",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.14.1.0", path: "0.1.14.1.0",
name: "AddressLine", name: "54. AddressLine",
label: "AddressLine", label: "AddressLine",
tag: "AdrLine", tag: "AdrLine",
type: "TextInput", type: "TextInput",
...@@ -465,7 +465,7 @@ export default [ ...@@ -465,7 +465,7 @@ export default [
}, },
{ {
path: "0.1.14.2", path: "0.1.14.2",
name: "Identification", name: "55. Identification",
label: "Identification", label: "Identification",
tag: "Id", tag: "Id",
type: "Choice", type: "Choice",
...@@ -473,21 +473,21 @@ export default [ ...@@ -473,21 +473,21 @@ export default [
children: [ children: [
{ {
path: "0.1.14.2.0", path: "0.1.14.2.0",
name: "OrganisationIdentification", name: "56. OrganisationIdentification",
label: "OrganisationIdentification", label: "OrganisationIdentification",
tag: "OrgId", tag: "OrgId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.14.2.0.0", path: "0.1.14.2.0.0",
name: "Other", name: "57. Other",
label: "Other", label: "Other",
tag: "Othr", tag: "Othr",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.14.2.0.0.0", path: "0.1.14.2.0.0.0",
name: "Identification", name: "58. Identification",
label: "Identification", label: "Identification",
tag: "Id", tag: "Id",
type: "TextInput", type: "TextInput",
...@@ -500,21 +500,21 @@ export default [ ...@@ -500,21 +500,21 @@ export default [
}, },
{ {
path: "0.1.14.2.1", path: "0.1.14.2.1",
name: "PrivateIdentification", name: "59. PrivateIdentification",
label: "PrivateIdentification", label: "PrivateIdentification",
tag: "PrvtId", tag: "PrvtId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.14.2.1.0", path: "0.1.14.2.1.0",
name: "Other", name: "60. Other",
label: "Other", label: "Other",
tag: "Othr", tag: "Othr",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.14.2.1.0.0", path: "0.1.14.2.1.0.0",
name: "Identification", name: "61. Identification",
label: "Identification", label: "Identification",
tag: "Id", tag: "Id",
type: "TextInput", type: "TextInput",
...@@ -523,14 +523,14 @@ export default [ ...@@ -523,14 +523,14 @@ export default [
}, },
{ {
path: "0.1.14.2.1.0.1", path: "0.1.14.2.1.0.1",
name: "SchemeName", name: "62. SchemeName",
label: "SchemeName", label: "SchemeName",
tag: "SchmeNm", tag: "SchmeNm",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.14.2.1.0.1.0", path: "0.1.14.2.1.0.1.0",
name: "Proprietary", name: "63. Proprietary",
label: "Proprietary", label: "Proprietary",
tag: "Prtry", tag: "Prtry",
type: "Select#IDTypeCode", type: "Select#IDTypeCode",
...@@ -546,7 +546,7 @@ export default [ ...@@ -546,7 +546,7 @@ export default [
}, },
{ {
path: "0.1.14.3", path: "0.1.14.3",
name: "CountryOfResidence", name: "64. CountryOfResidence",
label: "CountryOfResidence", label: "CountryOfResidence",
tag: "CtryOfRes", tag: "CtryOfRes",
type: "TextInput#[A-Z]{2,2}", type: "TextInput#[A-Z]{2,2}",
...@@ -557,28 +557,28 @@ export default [ ...@@ -557,28 +557,28 @@ export default [
}, },
{ {
path: "0.1.15", path: "0.1.15",
name: "DebtorAccount", name: "65. DebtorAccount",
label: "DebtorAccount", label: "DebtorAccount",
tag: "DbtrAcct", tag: "DbtrAcct",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.15.0", path: "0.1.15.0",
name: "Identification", name: "66. Identification",
label: "Identification", label: "Identification",
tag: "Id", tag: "Id",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.15.0.0", path: "0.1.15.0.0",
name: "Other", name: "67. Other",
label: "Other", label: "Other",
tag: "Othr", tag: "Othr",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.15.0.0.0", path: "0.1.15.0.0.0",
name: "Identification", name: "68. Identification",
label: "Identification", label: "Identification",
tag: "Id", tag: "Id",
type: "TextInput", type: "TextInput",
...@@ -593,28 +593,28 @@ export default [ ...@@ -593,28 +593,28 @@ export default [
}, },
{ {
path: "0.1.16", path: "0.1.16",
name: "DebtorAgent", name: "69. DebtorAgent",
label: "DebtorAgent", label: "DebtorAgent",
tag: "DbtrAgt", tag: "DbtrAgt",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.16.0", path: "0.1.16.0",
name: "FinancialInstitutionIdentification", name: "70. FinancialInstitutionIdentification",
label: "FinancialInstitutionIdentification", label: "FinancialInstitutionIdentification",
tag: "FinInstnId", tag: "FinInstnId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.16.0.0", path: "0.1.16.0.0",
name: "ClearingSystemMemberIdentification", name: "71. ClearingSystemMemberIdentification",
label: "ClearingSystemMemberIdentification", label: "ClearingSystemMemberIdentification",
tag: "ClrSysMmbId", tag: "ClrSysMmbId",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.16.0.0.0", path: "0.1.16.0.0.0",
name: "MemberIdentification", name: "72. MemberIdentification",
label: "MemberIdentification", label: "MemberIdentification",
tag: "MmbId", tag: "MmbId",
type: "TextInput", type: "TextInput",
...@@ -625,7 +625,7 @@ export default [ ...@@ -625,7 +625,7 @@ export default [
}, },
{ {
path: "0.1.16.0.1", path: "0.1.16.0.1",
name: "Name", name: "73. Name",
label: "Name", label: "Name",
tag: "Nm", tag: "Nm",
type: "TextInput", type: "TextInput",
...@@ -634,14 +634,14 @@ export default [ ...@@ -634,14 +634,14 @@ export default [
}, },
{ {
path: "0.1.16.0.2", path: "0.1.16.0.2",
name: "PostalAddress", name: "74. PostalAddress",
label: "PostalAddress", label: "PostalAddress",
tag: "PstlAdr", tag: "PstlAdr",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.16.0.2.0", path: "0.1.16.0.2.0",
name: "AddressLine", name: "75. AddressLine",
label: "AddressLine", label: "AddressLine",
tag: "AdrLine", tag: "AdrLine",
type: "TextInput", type: "TextInput",
...@@ -657,28 +657,28 @@ export default [ ...@@ -657,28 +657,28 @@ export default [
}, },
{ {
path: "0.1.17", path: "0.1.17",
name: "DebtorAgentAccount", name: "76. DebtorAgentAccount",
label: "DebtorAgentAccount", label: "DebtorAgentAccount",
tag: "DbtrAgtAcct", tag: "DbtrAgtAcct",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.17.0", path: "0.1.17.0",
name: "Identification", name: "77. Identification",
label: "Identification", label: "Identification",
tag: "Id", tag: "Id",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.17.0.0", path: "0.1.17.0.0",
name: "Other", name: "78. Other",
label: "Other", label: "Other",
tag: "Othr", tag: "Othr",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.17.0.0.0", path: "0.1.17.0.0.0",
name: "Identification", name: "79. Identification",
label: "Identification", label: "Identification",
tag: "Id", tag: "Id",
type: "TextInput", type: "TextInput",
...@@ -693,49 +693,39 @@ export default [ ...@@ -693,49 +693,39 @@ export default [
}, },
{ {
path: "0.1.18", path: "0.1.18",
name: "CreditorAgent", name: "80. CreditorAgent",
label: "CreditorAgent", label: "CreditorAgent",
tag: "CdtrAgt", tag: "CdtrAgt",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.18.0", path: "0.1.18.0",
name: "FinancialInstitutionIdentification", name: "81. FinancialInstitutionIdentification",
label: "FinancialInstitutionIdentification", label: "FinancialInstitutionIdentification",
tag: "FinInstnId", tag: "FinInstnId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.18.0.0", path: "0.1.18.0.0",
name: "ClearingSystemMemberIdentification", name: "82. ClearingSystemMemberIdentification",
label: "ClearingSystemMemberIdentification", label: "ClearingSystemMemberIdentification",
tag: "ClrSysMmbId", tag: "ClrSysMmbId",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.18.0.0.0", path: "0.1.18.0.0.0",
name: "MemberIdentification", name: "83. MemberIdentification",
label: "MemberIdentification", label: "MemberIdentification",
tag: "MmbId", tag: "MmbId",
type: "TextInput", type: "TextInput",
status: "M", status: "M",
maxLength: "35", maxLength: "35",
}, },
{
path: "0.1.18.0.0.1",
name: "AddressLine",
label: "AddressLine",
tag: "AdrLine",
type: "TextInput",
status: "O",
maxLength: "70",
array: true,
},
], ],
}, },
{ {
path: "0.1.18.0.1", path: "0.1.18.0.1",
name: "Name", name: "84. Name",
label: "Name", label: "Name",
tag: "Nm", tag: "Nm",
type: "TextInput", type: "TextInput",
...@@ -744,10 +734,22 @@ export default [ ...@@ -744,10 +734,22 @@ export default [
}, },
{ {
path: "0.1.18.0.2", path: "0.1.18.0.2",
name: "PostalAddress", name: "85. PostalAddress",
label: "PostalAddress", label: "PostalAddress",
tag: "PstlAdr", tag: "PstlAdr",
status: "O", status: "O",
children: [
{
path: "0.1.18.0.2.0",
name: "86. AddressLine",
label: "AddressLine",
tag: "AdrLine",
type: "TextInput",
status: "O",
maxLength: "70",
array: true,
},
],
}, },
], ],
}, },
...@@ -755,28 +757,28 @@ export default [ ...@@ -755,28 +757,28 @@ export default [
}, },
{ {
path: "0.1.19", path: "0.1.19",
name: "CreditorAgentAccount", name: "87. CreditorAgentAccount",
label: "CreditorAgentAccount", label: "CreditorAgentAccount",
tag: "CdtrAgtAcct", tag: "CdtrAgtAcct",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.19.0", path: "0.1.19.0",
name: "Identification", name: "88. Identification",
label: "Identification", label: "Identification",
tag: "Id", tag: "Id",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.19.0.0", path: "0.1.19.0.0",
name: "Other", name: "89. Other",
label: "Other", label: "Other",
tag: "Othr", tag: "Othr",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.19.0.0.0", path: "0.1.19.0.0.0",
name: "Identification", name: "90. Identification",
label: "Identification", label: "Identification",
tag: "Id", tag: "Id",
type: "TextInput", type: "TextInput",
...@@ -791,14 +793,14 @@ export default [ ...@@ -791,14 +793,14 @@ export default [
}, },
{ {
path: "0.1.20", path: "0.1.20",
name: "Creditor", name: "91. Creditor",
label: "Creditor", label: "Creditor",
tag: "Cdtr", tag: "Cdtr",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.20.0", path: "0.1.20.0",
name: "Name", name: "92. Name",
label: "Name", label: "Name",
tag: "Nm", tag: "Nm",
type: "TextInput", type: "TextInput",
...@@ -807,14 +809,14 @@ export default [ ...@@ -807,14 +809,14 @@ export default [
}, },
{ {
path: "0.1.20.1", path: "0.1.20.1",
name: "PostalAddress", name: "93. PostalAddress",
label: "PostalAddress", label: "PostalAddress",
tag: "PstlAdr", tag: "PstlAdr",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.20.1.0", path: "0.1.20.1.0",
name: "AddressLine", name: "94. AddressLine",
label: "AddressLine", label: "AddressLine",
tag: "AdrLine", tag: "AdrLine",
type: "TextInput", type: "TextInput",
...@@ -826,7 +828,7 @@ export default [ ...@@ -826,7 +828,7 @@ export default [
}, },
{ {
path: "0.1.20.2", path: "0.1.20.2",
name: "Identification", name: "95. Identification",
label: "Identification", label: "Identification",
tag: "Id", tag: "Id",
type: "Choice", type: "Choice",
...@@ -834,21 +836,21 @@ export default [ ...@@ -834,21 +836,21 @@ export default [
children: [ children: [
{ {
path: "0.1.20.2.0", path: "0.1.20.2.0",
name: "OrganisationIdentification", name: "96. OrganisationIdentification",
label: "OrganisationIdentification", label: "OrganisationIdentification",
tag: "OrgId", tag: "OrgId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.20.2.0.0", path: "0.1.20.2.0.0",
name: "Other", name: "97. Other",
label: "Other", label: "Other",
tag: "Othr", tag: "Othr",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.20.2.0.0.0", path: "0.1.20.2.0.0.0",
name: "Identification", name: "98. Identification",
label: "Identification", label: "Identification",
tag: "Id", tag: "Id",
type: "TextInput", type: "TextInput",
...@@ -861,21 +863,21 @@ export default [ ...@@ -861,21 +863,21 @@ export default [
}, },
{ {
path: "0.1.20.2.1", path: "0.1.20.2.1",
name: "PrivateIdentification", name: "99. PrivateIdentification",
label: "PrivateIdentification", label: "PrivateIdentification",
tag: "PrvtId", tag: "PrvtId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.20.2.1.0", path: "0.1.20.2.1.0",
name: "Other", name: "100. Other",
label: "Other", label: "Other",
tag: "Othr", tag: "Othr",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.20.2.1.0.0", path: "0.1.20.2.1.0.0",
name: "Identification", name: "101. Identification",
label: "Identification", label: "Identification",
tag: "Id", tag: "Id",
type: "TextInput", type: "TextInput",
...@@ -884,14 +886,14 @@ export default [ ...@@ -884,14 +886,14 @@ export default [
}, },
{ {
path: "0.1.20.2.1.0.1", path: "0.1.20.2.1.0.1",
name: "SchemeName", name: "102. SchemeName",
label: "SchemeName", label: "SchemeName",
tag: "SchmeNm", tag: "SchmeNm",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.20.2.1.0.1.0", path: "0.1.20.2.1.0.1.0",
name: "Proprietary", name: "103. Proprietary",
label: "Proprietary", label: "Proprietary",
tag: "Prtry", tag: "Prtry",
type: "Select#IDTypeCode", type: "Select#IDTypeCode",
...@@ -907,7 +909,7 @@ export default [ ...@@ -907,7 +909,7 @@ export default [
}, },
{ {
path: "0.1.20.3", path: "0.1.20.3",
name: "CountryOfResidence", name: "104. CountryOfResidence",
label: "CountryOfResidence", label: "CountryOfResidence",
tag: "CtryOfRes", tag: "CtryOfRes",
type: "TextInput#[A-Z]{2,2}", type: "TextInput#[A-Z]{2,2}",
...@@ -918,28 +920,28 @@ export default [ ...@@ -918,28 +920,28 @@ export default [
}, },
{ {
path: "0.1.21", path: "0.1.21",
name: "CreditorAccount", name: "105. CreditorAccount",
label: "CreditorAccount", label: "CreditorAccount",
tag: "CdtrAcct", tag: "CdtrAcct",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.21.0", path: "0.1.21.0",
name: "Identification", name: "106. Identification",
label: "Identification", label: "Identification",
tag: "Id", tag: "Id",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.21.0.0", path: "0.1.21.0.0",
name: "Other", name: "107. Other",
label: "Other", label: "Other",
tag: "Othr", tag: "Othr",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.21.0.0.0", path: "0.1.21.0.0.0",
name: "Identification", name: "108. Identification",
label: "Identification", label: "Identification",
tag: "Id", tag: "Id",
type: "TextInput", type: "TextInput",
...@@ -954,7 +956,7 @@ export default [ ...@@ -954,7 +956,7 @@ export default [
}, },
{ {
path: "0.1.22", path: "0.1.22",
name: "InstructionForCreditorAgent", name: "109. InstructionForCreditorAgent",
label: "InstructionForCreditorAgent", label: "InstructionForCreditorAgent",
tag: "InstrForCdtrAgt", tag: "InstrForCdtrAgt",
status: "O", status: "O",
...@@ -962,7 +964,7 @@ export default [ ...@@ -962,7 +964,7 @@ export default [
children: [ children: [
{ {
path: "0.1.22.0", path: "0.1.22.0",
name: "InstructionInformation", name: "110. InstructionInformation",
label: "InstructionInformation", label: "InstructionInformation",
tag: "InstrInf", tag: "InstrInf",
type: "TextInput", type: "TextInput",
...@@ -973,21 +975,21 @@ export default [ ...@@ -973,21 +975,21 @@ export default [
}, },
{ {
path: "0.1.23", path: "0.1.23",
name: "RegulatoryReporting", name: "111. RegulatoryReporting",
label: "RegulatoryReporting", label: "RegulatoryReporting",
tag: "RgltryRptg", tag: "RgltryRptg",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.23.0", path: "0.1.23.0",
name: "Details", name: "112. Details",
label: "Details", label: "Details",
tag: "Dtls", tag: "Dtls",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.23.0.0", path: "0.1.23.0.0",
name: "Type", name: "113. Type",
label: "Type", label: "Type",
tag: "Tp", tag: "Tp",
type: "TextInput", type: "TextInput",
...@@ -996,7 +998,7 @@ export default [ ...@@ -996,7 +998,7 @@ export default [
}, },
{ {
path: "0.1.23.0.1", path: "0.1.23.0.1",
name: "Information", name: "114. Information",
label: "Information", label: "Information",
tag: "Inf", tag: "Inf",
type: "TextInput", type: "TextInput",
...@@ -1010,14 +1012,14 @@ export default [ ...@@ -1010,14 +1012,14 @@ export default [
}, },
{ {
path: "0.1.24", path: "0.1.24",
name: "RemittanceInformation", name: "115. RemittanceInformation",
label: "RemittanceInformation", label: "RemittanceInformation",
tag: "RmtInf", tag: "RmtInf",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.24.0", path: "0.1.24.0",
name: "Unstructured", name: "116. Unstructured",
label: "Unstructured", label: "Unstructured",
tag: "Ustrd", tag: "Ustrd",
type: "TextInput", type: "TextInput",
...@@ -1029,14 +1031,14 @@ export default [ ...@@ -1029,14 +1031,14 @@ export default [
}, },
{ {
path: "0.1.25", path: "0.1.25",
name: "SupplementaryData", name: "117. SupplementaryData",
label: "SupplementaryData", label: "SupplementaryData",
tag: "SplmtryData", tag: "SplmtryData",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.25.0", path: "0.1.25.0",
name: "PlaceAndName", name: "118. PlaceAndName",
label: "PlaceAndName", label: "PlaceAndName",
tag: "PlcAndNm", tag: "PlcAndNm",
type: "TextInput", type: "TextInput",
...@@ -1046,21 +1048,21 @@ export default [ ...@@ -1046,21 +1048,21 @@ export default [
}, },
{ {
path: "0.1.25.1", path: "0.1.25.1",
name: "Envelope", name: "119. Envelope",
label: "Envelope", label: "Envelope",
tag: "Envlp", tag: "Envlp",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.25.1.0", path: "0.1.25.1.0",
name: "Contents", name: "120. Contents",
label: "Contents", label: "Contents",
tag: "Cnts", tag: "Cnts",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.25.1.0.0", path: "0.1.25.1.0.0",
name: "ExpectedSettlementDate", name: "121. ExpectedSettlementDate",
label: "ExpectedSettlementDate", label: "ExpectedSettlementDate",
tag: "XpctdSttlmDt", tag: "XpctdSttlmDt",
type: "Date", type: "Date",
...@@ -1068,7 +1070,7 @@ export default [ ...@@ -1068,7 +1070,7 @@ export default [
}, },
{ {
path: "0.1.25.1.0.1", path: "0.1.25.1.0.1",
name: "DebtorEID", name: "122. DebtorEID",
label: "DebtorEID", label: "DebtorEID",
tag: "DEId", tag: "DEId",
type: "TextInput", type: "TextInput",
...@@ -1077,7 +1079,7 @@ export default [ ...@@ -1077,7 +1079,7 @@ export default [
}, },
{ {
path: "0.1.25.1.0.2", path: "0.1.25.1.0.2",
name: "CreditorEID", name: "123. CreditorEID",
label: "CreditorEID", label: "CreditorEID",
tag: "CEId", tag: "CEId",
type: "TextInput", type: "TextInput",
...@@ -1086,7 +1088,7 @@ export default [ ...@@ -1086,7 +1088,7 @@ export default [
}, },
{ {
path: "0.1.25.1.0.3", path: "0.1.25.1.0.3",
name: "BusinessPhase", name: "124. BusinessPhase",
label: "BusinessPhase", label: "BusinessPhase",
tag: "BizPhs", tag: "BizPhs",
type: "Select#BizPhaseTypeCode", type: "Select#BizPhaseTypeCode",
...@@ -1104,7 +1106,7 @@ export default [ ...@@ -1104,7 +1106,7 @@ export default [
}, },
{ {
path: "1", path: "1",
name: "MesgType", name: "125. MesgType",
tag: "MesgType", tag: "MesgType",
type: "HiddenInput", type: "HiddenInput",
status: "O", status: "O",
...@@ -1112,7 +1114,7 @@ export default [ ...@@ -1112,7 +1114,7 @@ export default [
}, },
{ {
path: "2", path: "2",
name: "MesgPriority", name: "126. MesgPriority",
tag: "MesgPriority", tag: "MesgPriority",
type: "HiddenInput", type: "HiddenInput",
status: "O", status: "O",
...@@ -1120,21 +1122,21 @@ export default [ ...@@ -1120,21 +1122,21 @@ export default [
}, },
{ {
path: "3", path: "3",
name: "OrigReceiver", name: "127. OrigReceiver",
tag: "OrigReceiver", tag: "OrigReceiver",
type: "HiddenInput", type: "HiddenInput",
status: "O", status: "O",
}, },
{ {
path: "4", path: "4",
name: "OrigSendDate", name: "128. OrigSendDate",
tag: "OrigSendDate", tag: "OrigSendDate",
type: "HiddenInput", type: "HiddenInput",
status: "O", status: "O",
}, },
{ {
path: "5", path: "5",
name: "MesgDirection", name: "129. MesgDirection",
tag: "MesgDirection", tag: "MesgDirection",
type: "HiddenInput", type: "HiddenInput",
status: "O", status: "O",
...@@ -1142,28 +1144,28 @@ export default [ ...@@ -1142,28 +1144,28 @@ export default [
}, },
{ {
path: "6", path: "6",
name: "MesgRefID", name: "130. MesgRefID",
tag: "MesgRefID", tag: "MesgRefID",
type: "HiddenInput", type: "HiddenInput",
status: "O", status: "O",
}, },
{ {
path: "7", path: "7",
name: "MesgID", name: "131. MesgID",
tag: "MesgID", tag: "MesgID",
type: "HiddenInput", type: "HiddenInput",
status: "O", status: "O",
}, },
{ {
path: "8", path: "8",
name: "cipsMsgId", name: "132. cipsMsgId",
tag: "cipsMsgId", tag: "cipsMsgId",
type: "HiddenInput", type: "HiddenInput",
status: "O", status: "O",
}, },
{ {
path: "9", path: "9",
name: "OrigSendTime", name: "133. OrigSendTime",
tag: "OrigSendTime", tag: "OrigSendTime",
type: "HiddenInput", type: "HiddenInput",
status: "O", status: "O",
......
...@@ -92,7 +92,7 @@ public class SwiftTransferUtil { ...@@ -92,7 +92,7 @@ public class SwiftTransferUtil {
* @param sheetName * @param sheetName
*/ */
public static void generateJsTemplateFile(String sheetName) { public static void generateJsTemplateFile(String sheetName) {
InputStream resourceAsStream = SwiftTransferUtil.class.getResourceAsStream("/js/SwiftIso.xlsx"); InputStream resourceAsStream = SwiftTransferUtil.class.getResourceAsStream("/js/CIPS.xlsx");
ExcelReader reader = ExcelUtil.getReader(resourceAsStream, sheetName); ExcelReader reader = ExcelUtil.getReader(resourceAsStream, sheetName);
List<Map<String, Object>> content = reader.readAll(); List<Map<String, Object>> content = reader.readAll();
if (content.size() > 0) { if (content.size() > 0) {
...@@ -124,10 +124,10 @@ public class SwiftTransferUtil { ...@@ -124,10 +124,10 @@ public class SwiftTransferUtil {
if (contentMaps.get("defaultValue") != null) { if (contentMaps.get("defaultValue") != null) {
swiftIsoModel.setDefaultValue(String.valueOf(contentMaps.get("defaultValue")).trim()); swiftIsoModel.setDefaultValue(String.valueOf(contentMaps.get("defaultValue")).trim());
} }
if (contentMaps.get("array") != null) { if (contentMaps.get("array") != null && contentMaps.get("array")!="") {
swiftIsoModel.setArray((Boolean) contentMaps.get("array")); swiftIsoModel.setArray((Boolean) contentMaps.get("array"));
} }
if (contentMaps.get("unable") != null) { if (contentMaps.get("unable") != null &&contentMaps.get("unable")!="") {
swiftIsoModel.setUnable((Boolean) contentMaps.get("unable")); swiftIsoModel.setUnable((Boolean) contentMaps.get("unable"));
} }
if (contentMaps.get("pid") instanceof Long) { if (contentMaps.get("pid") instanceof Long) {
...@@ -260,7 +260,7 @@ public class SwiftTransferUtil { ...@@ -260,7 +260,7 @@ public class SwiftTransferUtil {
} }
public static void main(String[] args) throws Exception { public static void main(String[] args) throws Exception {
generateJsTemplateFile("Pacs.008.001.08"); generateJsTemplateFile("cips.112.001.02");
// generateBTCFile(); // generateBTCFile();
} }
} }
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