Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
SPB_Exchange_Repo
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Amelin Konstantin
SPB_Exchange_Repo
Commits
624d70f9
Commit
624d70f9
authored
Jun 07, 2021
by
Amelin Konstantin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor convert
parent
6a6597a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
src/main/scala/Main.scala
+2
-1
No files found.
src/main/scala/Main.scala
View file @
624d70f9
...
@@ -280,7 +280,8 @@ object Main {
...
@@ -280,7 +280,8 @@ object Main {
val
outputXml
=
XML
.
loadString
(
pp
.
format
(
template
.
render
)
val
outputXml
=
XML
.
loadString
(
pp
.
format
(
template
.
render
)
.
replace
(
"RP0058900001"
,
"BROKN"
)
.
replace
(
"RP0058900001"
,
"BROKN"
)
.
replace
(
"NDC000000000"
,
"SPB01"
)
.
replace
(
"NDC000000000"
,
"SPB01"
)
.
replace
(
"НКО АО НРД"
,
"ПАО «Санкт-Петербургская биржа»"
))
.
replace
(
"НКО АО НРД"
,
"ПАО «Санкт-Петербургская биржа»"
)
.
replace
(
"""Небанковская кредитная организация акционерное общество "Национальный расчетный депозитарий""""
,
"ПАО «Санкт-Петербургская биржа»"
))
val
sourceXmlValid
=
if
(
template
.
isStraight
)
nsdScheme
else
rtsScheme
val
sourceXmlValid
=
if
(
template
.
isStraight
)
nsdScheme
else
rtsScheme
val
outputXmlValid
=
if
(
template
.
isStraight
)
rtsScheme
else
nsdScheme
val
outputXmlValid
=
if
(
template
.
isStraight
)
rtsScheme
else
nsdScheme
...
...
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