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
f852228c
Commit
f852228c
authored
Oct 29, 2024
by
zhoujunpeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fttpcn修改
parent
4f92653e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
7 deletions
+23
-7
FttpcnDocset.java
...om/brilliance/isc/funds/fttpcn/document/FttpcnDocset.java
+7
-1
FttpcnTransactionServiceImpl.java
...sc/funds/fttpcn/service/FttpcnTransactionServiceImpl.java
+3
-0
FttpcnStoreVo.java
...java/com/brilliance/isc/funds/vo/funds/FttpcnStoreVo.java
+13
-6
No files found.
isc-funds-business/src/main/java/com/brilliance/isc/funds/fttpcn/document/FttpcnDocset.java
View file @
f852228c
...
...
@@ -4,10 +4,16 @@ package com.brilliance.isc.funds.fttpcn.document;
import
com.brilliance.isc.doc.handle.impl.AbstractTransactionDocSet
;
import
com.brilliance.isc.funds.bo.funds.FttpcnStoreBo
;
import
org.springframework.stereotype.Component
;
import
org.springframework.stereotype.Component
;
import
javax.annotation.PostConstruct
;
@Component
(
"fttpcn.docset"
)
public
class
FttpcnDocset
extends
AbstractTransactionDocSet
<
FttpcnStoreBo
>
{
@PostConstruct
public
void
buildMember
()
{
//扫描Cortype支持,必须要执行
scanDocCortypSupport
();
}
}
isc-funds-business/src/main/java/com/brilliance/isc/funds/fttpcn/service/FttpcnTransactionServiceImpl.java
View file @
f852228c
...
...
@@ -182,6 +182,9 @@ public class FttpcnTransactionServiceImpl extends AbstractTransactionService<Ftt
private
void
init950
(
FttpcnStoreBo
fttpcnStoreBo
){
Ftdgrp
ftdgrp
=
fttpcnStoreBo
.
getFtdgrp
();
if
(!
fttpcnStoreBo
.
isModified
(
"canamt"
)){
fttpcnStoreBo
.
setCanamt
(
ftdgrp
.
getCbs
().
getOpn2
().
getAmt
());
}
if
(!
fttpcnStoreBo
.
isModified
(
"cancur"
)){
fttpcnStoreBo
.
setCancur
(
ftdgrp
.
getCbs
().
getMax
().
getCur
());
}
...
...
isc-funds-entity/src/main/java/com/brilliance/isc/funds/vo/funds/FttpcnStoreVo.java
View file @
f852228c
package
com
.
brilliance
.
isc
.
funds
.
vo
.
funds
;
import
com.brilliance.isc.bo.model.Ftdgrp
;
import
com.brilliance.isc.bo.model.Fttp
;
import
com.brilliance.isc.common.transaction.vo.BaseTransactionVo
;
import
com.fasterxml.jackson.annotation.JsonIgnoreProperties
;
import
lombok.Data
;
import
com.brilliance.isc.common.transaction.vo.BaseTransactionVo
;
import
com.brilliance.isc.vo.model.FtdgrpVo
;
import
com.brilliance.isc.vo.model.FttpVo
;
import
com.brilliance.mda.runtime.mda.util.Decimals
;
import
com.fasterxml.jackson.annotation.JsonIgnoreProperties
;
import
lombok.Data
;
import
java.math.BigDecimal
;
import
static
com
.
brilliance
.
mda
.
runtime
.
mda
.
Constants
.
NULLSTR
;
@Data
@JsonIgnoreProperties
(
ignoreUnknown
=
true
)
public
class
FttpcnStoreVo
extends
BaseTransactionVo
{
private
Ftdgrp
ftdgrp
;
private
Fttp
fttp
;
private
FtdgrpVo
ftdgrp
;
private
BigDecimal
canamt
=
Decimals
.
ZERO_SCALE2
;
private
String
oldactinr
=
NULLSTR
;
//Cancel Currency
private
String
cancur
=
NULLSTR
;
private
FttpVo
fttp
;
@Override
public
void
reset
()
{
super
.
reset
();
if
(
ftdgrp
==
null
)
{
ftdgrp
=
new
Ftdgrp
();
ftdgrp
=
new
Ftdgrp
Vo
();
}
ftdgrp
.
reset
();
if
(
fttp
==
null
)
{
fttp
=
new
Fttp
();
fttp
=
new
Fttp
Vo
();
}
fttp
.
reset
();
}
...
...
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