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
44be4a66
Commit
44be4a66
authored
Aug 22, 2020
by
Amelin Konstantin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove partyIdScheme="CLIENTCODE" if (partyId0 == "RP0058900001")
parent
0ed0425f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
src/main/scala/templates/PartyTemplate.scala
+4
-1
No files found.
src/main/scala/templates/PartyTemplate.scala
View file @
44be4a66
...
@@ -12,7 +12,10 @@ abstract class PartyTemplate(source: Node) extends Template(source) {
...
@@ -12,7 +12,10 @@ abstract class PartyTemplate(source: Node) extends Template(source) {
val
partyId0
=
get
(
s
\
"partyId"
).
mkString
.
filterNot
(
_
.
isWhitespace
)
val
partyId0
=
get
(
s
\
"partyId"
).
mkString
.
filterNot
(
_
.
isWhitespace
)
if
(
partyId0
!=
"NONREF"
)
if
(
partyId0
!=
"NONREF"
)
id
->
{
if
(
id
==
"TradeRepository"
)
(
partyId0
,
msgNotFound
)
else
(
partyId0
,
"CLIENTCODE"
)
}
id
->
{
if
((
id
==
"TradeRepository"
)
||
(
partyId0
==
"RP0058900001"
))
(
partyId0
,
msgNotFound
)
else
(
partyId0
,
"CLIENTCODE"
)
}
else
{
else
{
val
partyId1
=
get
(
s
\
"partyId"
,
null
,
1
).
mkString
.
filterNot
(
_
.
isWhitespace
)
val
partyId1
=
get
(
s
\
"partyId"
,
null
,
1
).
mkString
.
filterNot
(
_
.
isWhitespace
)
.
replace
(
"INN"
,
"ITN"
)
.
replace
(
"INN"
,
"ITN"
)
...
...
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