Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
isc-funds
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
isc-v3.1-tmp
isc-funds
Commits
acb99f09
Commit
acb99f09
authored
Oct 15, 2024
by
jianglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改fxtfcm账务和报文注册
parent
83b56deb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
FxtfcmDocumentRegister.java
...isc/funds/fxtfcm/register/doc/FxtfcmDocumentRegister.java
+6
-0
FxtfcmSettleRegister.java
...sc/funds/fxtfcm/register/settle/FxtfcmSettleRegister.java
+7
-3
No files found.
isc-funds-business/src/main/java/com/brilliance/isc/funds/fxtfcm/register/doc/FxtfcmDocumentRegister.java
View file @
acb99f09
...
...
@@ -2,6 +2,7 @@ package com.brilliance.isc.funds.fxtfcm.register.doc;
import
com.brilliance.isc.common.component.PtsptaToolComponent
;
import
com.brilliance.isc.common.register.document.IDocumentRegister
;
import
com.brilliance.isc.common.register.document.common.SetmodDocumentRegister
;
import
com.brilliance.isc.common.trndoc.service.TrndocService
;
import
com.brilliance.isc.common.trndoc.vo.TrndocVo
;
import
com.brilliance.isc.common.vo.PtsptaVo
;
...
...
@@ -26,10 +27,15 @@ public class FxtfcmDocumentRegister implements IDocumentRegister {
TrndocService
trndocService
;
@Resource
PtsptaToolComponent
ptsptaToolComponent
;
@Autowired
private
SetmodDocumentRegister
setmodDocumentRegister
;
@Override
public
void
registerDocument
(
TrndocVo
trndoc
)
{
doRegister
(
trndoc
);
setmodDocumentRegister
.
registerDocument
(
trndoc
);
//entmodDocumentRegister.registerDocument(trndoc);
}
public
void
doRegister
(
TrndocVo
trndoc
){
...
...
isc-funds-business/src/main/java/com/brilliance/isc/funds/fxtfcm/register/settle/FxtfcmSettleRegister.java
View file @
acb99f09
...
...
@@ -70,6 +70,10 @@ public class FxtfcmSettleRegister implements ISettleRegister {
nom1Cur
=
setmodVo
.
getCbsMap
().
get
(
"NOM1"
).
getCur
();
}
setmodVo
.
setDoccur
(
maxCur
);
setmodVo
.
setDocamt
(
maxAmt
);
setmodVo
.
setOpnamt
(
maxAmt
);
SetglgVo
setglg
=
setmodVo
.
getSetglg
();
setglgService
.
setglgClrAmount
(
setmodVo
.
getSetglg
(),
"TRN"
);
...
...
@@ -90,7 +94,7 @@ public class FxtfcmSettleRegister implements ISettleRegister {
//#卖出确认
//D:281105(A外币)
act1
=
glemodService
.
getAvailAcc
(
"FX-SPR"
,
nom1Cur
,
""
,
setmodVo
.
getSetamt
()
);
dbtKey
=
setglgService
.
setglgAddAmount
(
setmodVo
.
getSetglg
(),
"SET"
,
"APL"
,
nom1
Cur
,
setmodVo
.
getSetamt
(),
"SET"
,
"FTD"
,
"F"
,
act1
,
"SET"
);
dbtKey
=
setglgService
.
setglgAddAmount
(
setmodVo
.
getSetglg
(),
"SET"
,
"APL"
,
max
Cur
,
setmodVo
.
getSetamt
(),
"SET"
,
"FTD"
,
"F"
,
act1
,
"SET"
);
/**
$Act1 = SETMOD\\GLEMOD.GetAvailAcc ( "FX-ELQ", FXDGRP\\CBS\\MAX\\CUR, "", self, SETMOD\\SETAMT )
$DbtKey = \\SETMOD\\SETGLG.SetglgAddAmount ( "SET", "OWN", SETMOD\\DOCCUR, SETMOD\\SETAMT, "SET", "FXD", "F", $Act1, "SET" )
...
...
@@ -100,7 +104,7 @@ public class FxtfcmSettleRegister implements ISettleRegister {
if
(
ptsptaToolComponent
.
ptsIsRolSet
(
fxdgrp
.
getAct
())
)
{
if
(
1
==
1
)
if
(
ptsptaToolComponent
.
ptsIsRolSet
(
fxdgrp
.
getAct
())
)
{
acctyp
=
"DB-CLR"
;
acc
=
glemodService
.
getAvailAcc
(
acctyp
,
maxCur
,
fxdgrp
.
getAct
().
getPts
().
getPtyinr
(),
setmodVo
.
getSetamt
()
);
...
...
@@ -115,7 +119,7 @@ public class FxtfcmSettleRegister implements ISettleRegister {
}
else
{
if
(
1
==
1
)
if
(
ptsptaToolComponent
.
ptsIsRolSet
(
fxdgrp
.
getApl
())
)
{
acctyp
=
"DB-CLR"
;
acc
=
glemodService
.
getAvailAcc
(
acctyp
,
maxCur
,
fxdgrp
.
getApl
().
getPts
().
getPtyinr
(),
setmodVo
.
getSetamt
()
);
...
...
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