Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swiftISOEditor
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
swift
swiftISOEditor
Commits
ac6fc97f
Commit
ac6fc97f
authored
May 06, 2024
by
lixinyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拟报增加序号
parent
ff7ff030
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
206 additions
and
144 deletions
+206
-144
MsgCode.js
editor_vue/src/iso/script/MsgCode.js
+60
-0
cips_111_001_02.js
editor_vue/src/iso/script/MsgJson/cips_111_001_02.js
+142
-140
SwiftTransferUtil.java
.../java/com/brilliance/mxeditor/util/SwiftTransferUtil.java
+4
-4
CIPS.xlsx
swift-service/src/main/resources/js/CIPS.xlsx
+0
-0
No files found.
editor_vue/src/iso/script/MsgCode.js
View file @
ac6fc97f
...
...
@@ -17233,6 +17233,65 @@ const MsgCodes = {
label
:
"Telecom"
,
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
;
\ No newline at end of file
editor_vue/src/iso/script/MsgJson/cips_111_001_02.js
View file @
ac6fc97f
export
default
[
{
path
:
"0"
,
name
:
"Message root"
,
name
:
"
1.
Message root"
,
label
:
"Message root"
,
tag
:
"FIToFICstmrCdtTrf"
,
status
:
"M"
,
children
:
[
{
path
:
"0.0"
,
name
:
"GroupHeader"
,
name
:
"
2.
GroupHeader"
,
label
:
"GroupHeader"
,
tag
:
"GrpHdr"
,
status
:
"M"
,
children
:
[
{
path
:
"0.0.0"
,
name
:
"MessageIdentification"
,
name
:
"
3.
MessageIdentification"
,
label
:
"MessageIdentification"
,
tag
:
"MsgId"
,
type
:
"TextInput"
,
...
...
@@ -26,7 +26,7 @@ export default [
},
{
path
:
"0.0.1"
,
name
:
"CreationDateTime"
,
name
:
"
4.
CreationDateTime"
,
label
:
"CreationDateTime"
,
tag
:
"CreDtTm"
,
type
:
"DateTime"
,
...
...
@@ -34,7 +34,7 @@ export default [
},
{
path
:
"0.0.2"
,
name
:
"NumberOfTransactions"
,
name
:
"
5.
NumberOfTransactions"
,
label
:
"NumberOfTransactions"
,
tag
:
"NbOfTxs"
,
type
:
"TextInput"
,
...
...
@@ -44,14 +44,14 @@ export default [
},
{
path
:
"0.0.3"
,
name
:
"SettlementInformation"
,
name
:
"
6.
SettlementInformation"
,
label
:
"SettlementInformation"
,
tag
:
"SttlmInf"
,
status
:
"M"
,
children
:
[
{
path
:
"0.0.3.0"
,
name
:
"SettlementMethod"
,
name
:
"
7.
SettlementMethod"
,
label
:
"SettlementMethod"
,
tag
:
"SttlmMtd"
,
type
:
"TextInput"
,
...
...
@@ -65,21 +65,21 @@ export default [
},
{
path
:
"0.1"
,
name
:
"CreditTransferTransactionInformation"
,
name
:
"
8.
CreditTransferTransactionInformation"
,
label
:
"CreditTransferTransactionInformation"
,
tag
:
"CdtTrfTxInf"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.0"
,
name
:
"PaymentIdentification"
,
name
:
"
9.
PaymentIdentification"
,
label
:
"PaymentIdentification"
,
tag
:
"PmtId"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.0.0"
,
name
:
"EndToEndIdentification"
,
name
:
"
10.
EndToEndIdentification"
,
label
:
"EndToEndIdentification"
,
tag
:
"EndToEndId"
,
type
:
"TextInput"
,
...
...
@@ -89,7 +89,7 @@ export default [
},
{
path
:
"0.1.0.1"
,
name
:
"TransactionIdentification"
,
name
:
"
11.
TransactionIdentification"
,
label
:
"TransactionIdentification"
,
tag
:
"TxId"
,
type
:
"TextInput"
,
...
...
@@ -101,21 +101,21 @@ export default [
},
{
path
:
"0.1.1"
,
name
:
"PaymentTypeInformation"
,
name
:
"
12.
PaymentTypeInformation"
,
label
:
"PaymentTypeInformation"
,
tag
:
"PmtTpInf"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.1.0"
,
name
:
"CategoryPurpose"
,
name
:
"
13.
CategoryPurpose"
,
label
:
"CategoryPurpose"
,
tag
:
"CtgyPurp"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.1.0.0"
,
name
:
"Proprietary"
,
name
:
"
14.
Proprietary"
,
label
:
"Proprietary"
,
tag
:
"Prtry"
,
type
:
"Select#proprietary111"
,
...
...
@@ -128,7 +128,7 @@ export default [
},
{
path
:
"0.1.2"
,
name
:
"InterbankSettlementAmount"
,
name
:
"
15.
InterbankSettlementAmount"
,
label
:
"InterbankSettlementAmount"
,
tag
:
"IntrBkSttlmAmt"
,
type
:
"AmountCIPS#18,5"
,
...
...
@@ -136,7 +136,7 @@ export default [
},
{
path
:
"0.1.3"
,
name
:
"InterbankSettlementDate"
,
name
:
"
16.
InterbankSettlementDate"
,
label
:
"InterbankSettlementDate"
,
tag
:
"IntrBkSttlmDt"
,
type
:
"Date"
,
...
...
@@ -144,7 +144,7 @@ export default [
},
{
path
:
"0.1.4"
,
name
:
"SettlementPriority"
,
name
:
"
17.
SettlementPriority"
,
label
:
"SettlementPriority"
,
tag
:
"SttlmPrty"
,
type
:
"Select#priority3Code"
,
...
...
@@ -152,14 +152,14 @@ export default [
},
{
path
:
"0.1.5"
,
name
:
"SettlementTimeIndication"
,
name
:
"
18.
SettlementTimeIndication"
,
label
:
"SettlementTimeIndication"
,
tag
:
"SttlmTmIndctn"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.5.0"
,
name
:
"DebitDateTime"
,
name
:
"
19.
DebitDateTime"
,
label
:
"DebitDateTime"
,
tag
:
"DbtDtTm"
,
type
:
"DateTime"
,
...
...
@@ -169,7 +169,7 @@ export default [
},
{
path
:
"0.1.6"
,
name
:
"InstructedAmount"
,
name
:
"
20.
InstructedAmount"
,
label
:
"InstructedAmount"
,
tag
:
"InstdAmt"
,
type
:
"AmountCIPS#18,5"
,
...
...
@@ -177,7 +177,7 @@ export default [
},
{
path
:
"0.1.7"
,
name
:
"ExchangeRate"
,
name
:
"
21.
ExchangeRate"
,
label
:
"ExchangeRate"
,
tag
:
"XchgRate"
,
type
:
"Decimal#11,10"
,
...
...
@@ -185,7 +185,7 @@ export default [
},
{
path
:
"0.1.8"
,
name
:
"ChargeBearer"
,
name
:
"
22.
ChargeBearer"
,
label
:
"ChargeBearer"
,
tag
:
"ChrgBr"
,
type
:
"Select#ChargeBearerType1Code"
,
...
...
@@ -194,7 +194,7 @@ export default [
},
{
path
:
"0.1.9"
,
name
:
"ChargesInformation"
,
name
:
"
23.
ChargesInformation"
,
label
:
"ChargesInformation"
,
tag
:
"ChrgsInf"
,
status
:
"O"
,
...
...
@@ -202,7 +202,7 @@ export default [
children
:
[
{
path
:
"0.1.9.0"
,
name
:
"Amount"
,
name
:
"
24.
Amount"
,
label
:
"Amount"
,
tag
:
"Amt"
,
type
:
"AmountCIPS#18,5"
,
...
...
@@ -210,28 +210,28 @@ export default [
},
{
path
:
"0.1.9.1"
,
name
:
"Agent"
,
name
:
"
25.
Agent"
,
label
:
"Agent"
,
tag
:
"Agt"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.9.1.0"
,
name
:
"FinancialInstitutionIdentification"
,
name
:
"
26.
FinancialInstitutionIdentification"
,
label
:
"FinancialInstitutionIdentification"
,
tag
:
"FinInstnId"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.9.1.0.0"
,
name
:
"ClearingSystemMemberIdentification"
,
name
:
"
27.
ClearingSystemMemberIdentification"
,
label
:
"ClearingSystemMemberIdentification"
,
tag
:
"ClrSysMmbId"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.9.1.0.0.0"
,
name
:
"MemberIdentification"
,
name
:
"
28.
MemberIdentification"
,
label
:
"MemberIdentification"
,
tag
:
"MmbId"
,
type
:
"TextInput"
,
...
...
@@ -248,28 +248,28 @@ export default [
},
{
path
:
"0.1.10"
,
name
:
"InstructingAgent"
,
name
:
"
29.
InstructingAgent"
,
label
:
"InstructingAgent"
,
tag
:
"InstgAgt"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.10.0"
,
name
:
"FinancialInstitutionIdentification"
,
name
:
"
30.
FinancialInstitutionIdentification"
,
label
:
"FinancialInstitutionIdentification"
,
tag
:
"FinInstnId"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.10.0.0"
,
name
:
"ClearingSystemMemberIdentification"
,
name
:
"
31.
ClearingSystemMemberIdentification"
,
label
:
"ClearingSystemMemberIdentification"
,
tag
:
"ClrSysMmbId"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.10.0.0.0"
,
name
:
"MemberIdentification"
,
name
:
"
32.
MemberIdentification"
,
label
:
"MemberIdentification"
,
tag
:
"MmbId"
,
type
:
"TextInput"
,
...
...
@@ -284,14 +284,14 @@ export default [
},
{
path
:
"0.1.10.1"
,
name
:
"BranchIdentification"
,
name
:
"
33.
BranchIdentification"
,
label
:
"BranchIdentification"
,
tag
:
"BrnchId"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.10.1.0"
,
name
:
"Identification"
,
name
:
"
34.
Identification"
,
label
:
"Identification"
,
tag
:
"Id"
,
type
:
"TextInput"
,
...
...
@@ -304,28 +304,28 @@ export default [
},
{
path
:
"0.1.11"
,
name
:
"InstructedAgent"
,
name
:
"
35.
InstructedAgent"
,
label
:
"InstructedAgent"
,
tag
:
"InstdAgt"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.11.0"
,
name
:
"FinancialInstitutionIdentification"
,
name
:
"
36.
FinancialInstitutionIdentification"
,
label
:
"FinancialInstitutionIdentification"
,
tag
:
"FinInstnId"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.11.0.0"
,
name
:
"ClearingSystemMemberIdentification"
,
name
:
"
37.
ClearingSystemMemberIdentification"
,
label
:
"ClearingSystemMemberIdentification"
,
tag
:
"ClrSysMmbId"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.11.0.0.0"
,
name
:
"MemberIdentification"
,
name
:
"
38.
MemberIdentification"
,
label
:
"MemberIdentification"
,
tag
:
"MmbId"
,
type
:
"TextInput"
,
...
...
@@ -340,28 +340,28 @@ export default [
},
{
path
:
"0.1.12"
,
name
:
"IntermediaryAgent1"
,
name
:
"
41.
IntermediaryAgent1"
,
label
:
"IntermediaryAgent1"
,
tag
:
"IntrmyAgt1"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.12.0"
,
name
:
"FinancialInstitutionIdentification"
,
name
:
"
42.
FinancialInstitutionIdentification"
,
label
:
"FinancialInstitutionIdentification"
,
tag
:
"FinInstnId"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.12.0.0"
,
name
:
"ClearingSystemMemberIdentification"
,
name
:
"
43.
ClearingSystemMemberIdentification"
,
label
:
"ClearingSystemMemberIdentification"
,
tag
:
"ClrSysMmbId"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.12.0.0.0"
,
name
:
"MemberIdentification"
,
name
:
"
44.
MemberIdentification"
,
label
:
"MemberIdentification"
,
tag
:
"MmbId"
,
type
:
"TextInput"
,
...
...
@@ -372,7 +372,7 @@ export default [
},
{
path
:
"0.1.12.0.1"
,
name
:
"Name"
,
name
:
"
45.
Name"
,
label
:
"Name"
,
tag
:
"Nm"
,
type
:
"TextInput"
,
...
...
@@ -385,28 +385,28 @@ export default [
},
{
path
:
"0.1.13"
,
name
:
"IntermediaryAgent2"
,
name
:
"
46.
IntermediaryAgent2"
,
label
:
"IntermediaryAgent2"
,
tag
:
"IntrmyAgt2"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.13.0"
,
name
:
"FinancialInstitutionIdentification"
,
name
:
"
47.
FinancialInstitutionIdentification"
,
label
:
"FinancialInstitutionIdentification"
,
tag
:
"FinInstnId"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.13.0.0"
,
name
:
"ClearingSystemMemberIdentification"
,
name
:
"
48.
ClearingSystemMemberIdentification"
,
label
:
"ClearingSystemMemberIdentification"
,
tag
:
"ClrSysMmbId"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.13.0.0.0"
,
name
:
"MemberIdentification"
,
name
:
"
49.
MemberIdentification"
,
label
:
"MemberIdentification"
,
tag
:
"MmbId"
,
type
:
"TextInput"
,
...
...
@@ -417,7 +417,7 @@ export default [
},
{
path
:
"0.1.13.0.1"
,
name
:
"Name"
,
name
:
"
50.
Name"
,
label
:
"Name"
,
tag
:
"Nm"
,
type
:
"TextInput"
,
...
...
@@ -430,14 +430,14 @@ export default [
},
{
path
:
"0.1.14"
,
name
:
"Debtor"
,
name
:
"
51.
Debtor"
,
label
:
"Debtor"
,
tag
:
"Dbtr"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.14.0"
,
name
:
"Name"
,
name
:
"
52.
Name"
,
label
:
"Name"
,
tag
:
"Nm"
,
type
:
"TextInput"
,
...
...
@@ -446,14 +446,14 @@ export default [
},
{
path
:
"0.1.14.1"
,
name
:
"PostalAddress"
,
name
:
"
53.
PostalAddress"
,
label
:
"PostalAddress"
,
tag
:
"PstlAdr"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.14.1.0"
,
name
:
"AddressLine"
,
name
:
"
54.
AddressLine"
,
label
:
"AddressLine"
,
tag
:
"AdrLine"
,
type
:
"TextInput"
,
...
...
@@ -465,7 +465,7 @@ export default [
},
{
path
:
"0.1.14.2"
,
name
:
"Identification"
,
name
:
"
55.
Identification"
,
label
:
"Identification"
,
tag
:
"Id"
,
type
:
"Choice"
,
...
...
@@ -473,21 +473,21 @@ export default [
children
:
[
{
path
:
"0.1.14.2.0"
,
name
:
"OrganisationIdentification"
,
name
:
"
56.
OrganisationIdentification"
,
label
:
"OrganisationIdentification"
,
tag
:
"OrgId"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.14.2.0.0"
,
name
:
"Other"
,
name
:
"
57.
Other"
,
label
:
"Other"
,
tag
:
"Othr"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.14.2.0.0.0"
,
name
:
"Identification"
,
name
:
"
58.
Identification"
,
label
:
"Identification"
,
tag
:
"Id"
,
type
:
"TextInput"
,
...
...
@@ -500,21 +500,21 @@ export default [
},
{
path
:
"0.1.14.2.1"
,
name
:
"PrivateIdentification"
,
name
:
"
59.
PrivateIdentification"
,
label
:
"PrivateIdentification"
,
tag
:
"PrvtId"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.14.2.1.0"
,
name
:
"Other"
,
name
:
"
60.
Other"
,
label
:
"Other"
,
tag
:
"Othr"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.14.2.1.0.0"
,
name
:
"Identification"
,
name
:
"
61.
Identification"
,
label
:
"Identification"
,
tag
:
"Id"
,
type
:
"TextInput"
,
...
...
@@ -523,14 +523,14 @@ export default [
},
{
path
:
"0.1.14.2.1.0.1"
,
name
:
"SchemeName"
,
name
:
"
62.
SchemeName"
,
label
:
"SchemeName"
,
tag
:
"SchmeNm"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.14.2.1.0.1.0"
,
name
:
"Proprietary"
,
name
:
"
63.
Proprietary"
,
label
:
"Proprietary"
,
tag
:
"Prtry"
,
type
:
"Select#IDTypeCode"
,
...
...
@@ -546,7 +546,7 @@ export default [
},
{
path
:
"0.1.14.3"
,
name
:
"CountryOfResidence"
,
name
:
"
64.
CountryOfResidence"
,
label
:
"CountryOfResidence"
,
tag
:
"CtryOfRes"
,
type
:
"TextInput#[A-Z]{2,2}"
,
...
...
@@ -557,28 +557,28 @@ export default [
},
{
path
:
"0.1.15"
,
name
:
"DebtorAccount"
,
name
:
"
65.
DebtorAccount"
,
label
:
"DebtorAccount"
,
tag
:
"DbtrAcct"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.15.0"
,
name
:
"Identification"
,
name
:
"
66.
Identification"
,
label
:
"Identification"
,
tag
:
"Id"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.15.0.0"
,
name
:
"Other"
,
name
:
"
67.
Other"
,
label
:
"Other"
,
tag
:
"Othr"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.15.0.0.0"
,
name
:
"Identification"
,
name
:
"
68.
Identification"
,
label
:
"Identification"
,
tag
:
"Id"
,
type
:
"TextInput"
,
...
...
@@ -593,28 +593,28 @@ export default [
},
{
path
:
"0.1.16"
,
name
:
"DebtorAgent"
,
name
:
"
69.
DebtorAgent"
,
label
:
"DebtorAgent"
,
tag
:
"DbtrAgt"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.16.0"
,
name
:
"FinancialInstitutionIdentification"
,
name
:
"
70.
FinancialInstitutionIdentification"
,
label
:
"FinancialInstitutionIdentification"
,
tag
:
"FinInstnId"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.16.0.0"
,
name
:
"ClearingSystemMemberIdentification"
,
name
:
"
71.
ClearingSystemMemberIdentification"
,
label
:
"ClearingSystemMemberIdentification"
,
tag
:
"ClrSysMmbId"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.16.0.0.0"
,
name
:
"MemberIdentification"
,
name
:
"
72.
MemberIdentification"
,
label
:
"MemberIdentification"
,
tag
:
"MmbId"
,
type
:
"TextInput"
,
...
...
@@ -625,7 +625,7 @@ export default [
},
{
path
:
"0.1.16.0.1"
,
name
:
"Name"
,
name
:
"
73.
Name"
,
label
:
"Name"
,
tag
:
"Nm"
,
type
:
"TextInput"
,
...
...
@@ -634,14 +634,14 @@ export default [
},
{
path
:
"0.1.16.0.2"
,
name
:
"PostalAddress"
,
name
:
"
74.
PostalAddress"
,
label
:
"PostalAddress"
,
tag
:
"PstlAdr"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.16.0.2.0"
,
name
:
"AddressLine"
,
name
:
"
75.
AddressLine"
,
label
:
"AddressLine"
,
tag
:
"AdrLine"
,
type
:
"TextInput"
,
...
...
@@ -657,28 +657,28 @@ export default [
},
{
path
:
"0.1.17"
,
name
:
"DebtorAgentAccount"
,
name
:
"
76.
DebtorAgentAccount"
,
label
:
"DebtorAgentAccount"
,
tag
:
"DbtrAgtAcct"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.17.0"
,
name
:
"Identification"
,
name
:
"
77.
Identification"
,
label
:
"Identification"
,
tag
:
"Id"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.17.0.0"
,
name
:
"Other"
,
name
:
"
78.
Other"
,
label
:
"Other"
,
tag
:
"Othr"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.17.0.0.0"
,
name
:
"Identification"
,
name
:
"
79.
Identification"
,
label
:
"Identification"
,
tag
:
"Id"
,
type
:
"TextInput"
,
...
...
@@ -693,49 +693,39 @@ export default [
},
{
path
:
"0.1.18"
,
name
:
"CreditorAgent"
,
name
:
"
80.
CreditorAgent"
,
label
:
"CreditorAgent"
,
tag
:
"CdtrAgt"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.18.0"
,
name
:
"FinancialInstitutionIdentification"
,
name
:
"
81.
FinancialInstitutionIdentification"
,
label
:
"FinancialInstitutionIdentification"
,
tag
:
"FinInstnId"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.18.0.0"
,
name
:
"ClearingSystemMemberIdentification"
,
name
:
"
82.
ClearingSystemMemberIdentification"
,
label
:
"ClearingSystemMemberIdentification"
,
tag
:
"ClrSysMmbId"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.18.0.0.0"
,
name
:
"MemberIdentification"
,
name
:
"
83.
MemberIdentification"
,
label
:
"MemberIdentification"
,
tag
:
"MmbId"
,
type
:
"TextInput"
,
status
:
"M"
,
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"
,
name
:
"Name"
,
name
:
"
84.
Name"
,
label
:
"Name"
,
tag
:
"Nm"
,
type
:
"TextInput"
,
...
...
@@ -744,10 +734,22 @@ export default [
},
{
path
:
"0.1.18.0.2"
,
name
:
"PostalAddress"
,
name
:
"
85.
PostalAddress"
,
label
:
"PostalAddress"
,
tag
:
"PstlAdr"
,
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 [
},
{
path
:
"0.1.19"
,
name
:
"CreditorAgentAccount"
,
name
:
"
87.
CreditorAgentAccount"
,
label
:
"CreditorAgentAccount"
,
tag
:
"CdtrAgtAcct"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.19.0"
,
name
:
"Identification"
,
name
:
"
88.
Identification"
,
label
:
"Identification"
,
tag
:
"Id"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.19.0.0"
,
name
:
"Other"
,
name
:
"
89.
Other"
,
label
:
"Other"
,
tag
:
"Othr"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.19.0.0.0"
,
name
:
"Identification"
,
name
:
"
90.
Identification"
,
label
:
"Identification"
,
tag
:
"Id"
,
type
:
"TextInput"
,
...
...
@@ -791,14 +793,14 @@ export default [
},
{
path
:
"0.1.20"
,
name
:
"Creditor"
,
name
:
"
91.
Creditor"
,
label
:
"Creditor"
,
tag
:
"Cdtr"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.20.0"
,
name
:
"Name"
,
name
:
"
92.
Name"
,
label
:
"Name"
,
tag
:
"Nm"
,
type
:
"TextInput"
,
...
...
@@ -807,14 +809,14 @@ export default [
},
{
path
:
"0.1.20.1"
,
name
:
"PostalAddress"
,
name
:
"
93.
PostalAddress"
,
label
:
"PostalAddress"
,
tag
:
"PstlAdr"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.20.1.0"
,
name
:
"AddressLine"
,
name
:
"
94.
AddressLine"
,
label
:
"AddressLine"
,
tag
:
"AdrLine"
,
type
:
"TextInput"
,
...
...
@@ -826,7 +828,7 @@ export default [
},
{
path
:
"0.1.20.2"
,
name
:
"Identification"
,
name
:
"
95.
Identification"
,
label
:
"Identification"
,
tag
:
"Id"
,
type
:
"Choice"
,
...
...
@@ -834,21 +836,21 @@ export default [
children
:
[
{
path
:
"0.1.20.2.0"
,
name
:
"OrganisationIdentification"
,
name
:
"
96.
OrganisationIdentification"
,
label
:
"OrganisationIdentification"
,
tag
:
"OrgId"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.20.2.0.0"
,
name
:
"Other"
,
name
:
"
97.
Other"
,
label
:
"Other"
,
tag
:
"Othr"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.20.2.0.0.0"
,
name
:
"Identification"
,
name
:
"
98.
Identification"
,
label
:
"Identification"
,
tag
:
"Id"
,
type
:
"TextInput"
,
...
...
@@ -861,21 +863,21 @@ export default [
},
{
path
:
"0.1.20.2.1"
,
name
:
"PrivateIdentification"
,
name
:
"
99.
PrivateIdentification"
,
label
:
"PrivateIdentification"
,
tag
:
"PrvtId"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.20.2.1.0"
,
name
:
"Other"
,
name
:
"
100.
Other"
,
label
:
"Other"
,
tag
:
"Othr"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.20.2.1.0.0"
,
name
:
"Identification"
,
name
:
"
101.
Identification"
,
label
:
"Identification"
,
tag
:
"Id"
,
type
:
"TextInput"
,
...
...
@@ -884,14 +886,14 @@ export default [
},
{
path
:
"0.1.20.2.1.0.1"
,
name
:
"SchemeName"
,
name
:
"
102.
SchemeName"
,
label
:
"SchemeName"
,
tag
:
"SchmeNm"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.20.2.1.0.1.0"
,
name
:
"Proprietary"
,
name
:
"
103.
Proprietary"
,
label
:
"Proprietary"
,
tag
:
"Prtry"
,
type
:
"Select#IDTypeCode"
,
...
...
@@ -907,7 +909,7 @@ export default [
},
{
path
:
"0.1.20.3"
,
name
:
"CountryOfResidence"
,
name
:
"
104.
CountryOfResidence"
,
label
:
"CountryOfResidence"
,
tag
:
"CtryOfRes"
,
type
:
"TextInput#[A-Z]{2,2}"
,
...
...
@@ -918,28 +920,28 @@ export default [
},
{
path
:
"0.1.21"
,
name
:
"CreditorAccount"
,
name
:
"
105.
CreditorAccount"
,
label
:
"CreditorAccount"
,
tag
:
"CdtrAcct"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.21.0"
,
name
:
"Identification"
,
name
:
"
106.
Identification"
,
label
:
"Identification"
,
tag
:
"Id"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.21.0.0"
,
name
:
"Other"
,
name
:
"
107.
Other"
,
label
:
"Other"
,
tag
:
"Othr"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.21.0.0.0"
,
name
:
"Identification"
,
name
:
"
108.
Identification"
,
label
:
"Identification"
,
tag
:
"Id"
,
type
:
"TextInput"
,
...
...
@@ -954,7 +956,7 @@ export default [
},
{
path
:
"0.1.22"
,
name
:
"InstructionForCreditorAgent"
,
name
:
"
109.
InstructionForCreditorAgent"
,
label
:
"InstructionForCreditorAgent"
,
tag
:
"InstrForCdtrAgt"
,
status
:
"O"
,
...
...
@@ -962,7 +964,7 @@ export default [
children
:
[
{
path
:
"0.1.22.0"
,
name
:
"InstructionInformation"
,
name
:
"
110.
InstructionInformation"
,
label
:
"InstructionInformation"
,
tag
:
"InstrInf"
,
type
:
"TextInput"
,
...
...
@@ -973,21 +975,21 @@ export default [
},
{
path
:
"0.1.23"
,
name
:
"RegulatoryReporting"
,
name
:
"
111.
RegulatoryReporting"
,
label
:
"RegulatoryReporting"
,
tag
:
"RgltryRptg"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.23.0"
,
name
:
"Details"
,
name
:
"
112.
Details"
,
label
:
"Details"
,
tag
:
"Dtls"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.23.0.0"
,
name
:
"Type"
,
name
:
"
113.
Type"
,
label
:
"Type"
,
tag
:
"Tp"
,
type
:
"TextInput"
,
...
...
@@ -996,7 +998,7 @@ export default [
},
{
path
:
"0.1.23.0.1"
,
name
:
"Information"
,
name
:
"
114.
Information"
,
label
:
"Information"
,
tag
:
"Inf"
,
type
:
"TextInput"
,
...
...
@@ -1010,14 +1012,14 @@ export default [
},
{
path
:
"0.1.24"
,
name
:
"RemittanceInformation"
,
name
:
"
115.
RemittanceInformation"
,
label
:
"RemittanceInformation"
,
tag
:
"RmtInf"
,
status
:
"O"
,
children
:
[
{
path
:
"0.1.24.0"
,
name
:
"Unstructured"
,
name
:
"
116.
Unstructured"
,
label
:
"Unstructured"
,
tag
:
"Ustrd"
,
type
:
"TextInput"
,
...
...
@@ -1029,14 +1031,14 @@ export default [
},
{
path
:
"0.1.25"
,
name
:
"SupplementaryData"
,
name
:
"
117.
SupplementaryData"
,
label
:
"SupplementaryData"
,
tag
:
"SplmtryData"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.25.0"
,
name
:
"PlaceAndName"
,
name
:
"
118.
PlaceAndName"
,
label
:
"PlaceAndName"
,
tag
:
"PlcAndNm"
,
type
:
"TextInput"
,
...
...
@@ -1046,21 +1048,21 @@ export default [
},
{
path
:
"0.1.25.1"
,
name
:
"Envelope"
,
name
:
"
119.
Envelope"
,
label
:
"Envelope"
,
tag
:
"Envlp"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.25.1.0"
,
name
:
"Contents"
,
name
:
"
120.
Contents"
,
label
:
"Contents"
,
tag
:
"Cnts"
,
status
:
"M"
,
children
:
[
{
path
:
"0.1.25.1.0.0"
,
name
:
"ExpectedSettlementDate"
,
name
:
"
121.
ExpectedSettlementDate"
,
label
:
"ExpectedSettlementDate"
,
tag
:
"XpctdSttlmDt"
,
type
:
"Date"
,
...
...
@@ -1068,7 +1070,7 @@ export default [
},
{
path
:
"0.1.25.1.0.1"
,
name
:
"DebtorEID"
,
name
:
"
122.
DebtorEID"
,
label
:
"DebtorEID"
,
tag
:
"DEId"
,
type
:
"TextInput"
,
...
...
@@ -1077,7 +1079,7 @@ export default [
},
{
path
:
"0.1.25.1.0.2"
,
name
:
"CreditorEID"
,
name
:
"
123.
CreditorEID"
,
label
:
"CreditorEID"
,
tag
:
"CEId"
,
type
:
"TextInput"
,
...
...
@@ -1086,7 +1088,7 @@ export default [
},
{
path
:
"0.1.25.1.0.3"
,
name
:
"BusinessPhase"
,
name
:
"
124.
BusinessPhase"
,
label
:
"BusinessPhase"
,
tag
:
"BizPhs"
,
type
:
"Select#BizPhaseTypeCode"
,
...
...
@@ -1104,7 +1106,7 @@ export default [
},
{
path
:
"1"
,
name
:
"MesgType"
,
name
:
"
125.
MesgType"
,
tag
:
"MesgType"
,
type
:
"HiddenInput"
,
status
:
"O"
,
...
...
@@ -1112,7 +1114,7 @@ export default [
},
{
path
:
"2"
,
name
:
"MesgPriority"
,
name
:
"
126.
MesgPriority"
,
tag
:
"MesgPriority"
,
type
:
"HiddenInput"
,
status
:
"O"
,
...
...
@@ -1120,21 +1122,21 @@ export default [
},
{
path
:
"3"
,
name
:
"OrigReceiver"
,
name
:
"
127.
OrigReceiver"
,
tag
:
"OrigReceiver"
,
type
:
"HiddenInput"
,
status
:
"O"
,
},
{
path
:
"4"
,
name
:
"OrigSendDate"
,
name
:
"
128.
OrigSendDate"
,
tag
:
"OrigSendDate"
,
type
:
"HiddenInput"
,
status
:
"O"
,
},
{
path
:
"5"
,
name
:
"MesgDirection"
,
name
:
"
129.
MesgDirection"
,
tag
:
"MesgDirection"
,
type
:
"HiddenInput"
,
status
:
"O"
,
...
...
@@ -1142,28 +1144,28 @@ export default [
},
{
path
:
"6"
,
name
:
"MesgRefID"
,
name
:
"
130.
MesgRefID"
,
tag
:
"MesgRefID"
,
type
:
"HiddenInput"
,
status
:
"O"
,
},
{
path
:
"7"
,
name
:
"MesgID"
,
name
:
"
131.
MesgID"
,
tag
:
"MesgID"
,
type
:
"HiddenInput"
,
status
:
"O"
,
},
{
path
:
"8"
,
name
:
"cipsMsgId"
,
name
:
"
132.
cipsMsgId"
,
tag
:
"cipsMsgId"
,
type
:
"HiddenInput"
,
status
:
"O"
,
},
{
path
:
"9"
,
name
:
"OrigSendTime"
,
name
:
"
133.
OrigSendTime"
,
tag
:
"OrigSendTime"
,
type
:
"HiddenInput"
,
status
:
"O"
,
...
...
swift-service/src/main/java/com/brilliance/mxeditor/util/SwiftTransferUtil.java
View file @
ac6fc97f
...
...
@@ -92,7 +92,7 @@ public class SwiftTransferUtil {
* @param 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
);
List
<
Map
<
String
,
Object
>>
content
=
reader
.
readAll
();
if
(
content
.
size
()
>
0
)
{
...
...
@@ -124,10 +124,10 @@ public class SwiftTransferUtil {
if
(
contentMaps
.
get
(
"defaultValue"
)
!=
null
)
{
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"
));
}
if
(
contentMaps
.
get
(
"unable"
)
!=
null
)
{
if
(
contentMaps
.
get
(
"unable"
)
!=
null
&&
contentMaps
.
get
(
"unable"
)!=
""
)
{
swiftIsoModel
.
setUnable
((
Boolean
)
contentMaps
.
get
(
"unable"
));
}
if
(
contentMaps
.
get
(
"pid"
)
instanceof
Long
)
{
...
...
@@ -260,7 +260,7 @@ public class SwiftTransferUtil {
}
public
static
void
main
(
String
[]
args
)
throws
Exception
{
generateJsTemplateFile
(
"
Pacs.008.001.08
"
);
generateJsTemplateFile
(
"
cips.112.001.02
"
);
// generateBTCFile();
}
}
swift-service/src/main/resources/js/CIPS.xlsx
0 → 100644
View file @
ac6fc97f
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment