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
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
64 additions
and
4 deletions
+64
-4
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
+0
-0
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
This diff is collapsed.
Click to expand it.
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