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
2b742cbc
Commit
2b742cbc
authored
Oct 12, 2024
by
jianglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改查询交易
parent
0fd6ec76
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
0 deletions
+48
-0
FxtselResource.java
.../brilliance/isc/funds/fxtsel/resource/FxtselResource.java
+10
-0
FxtselService.java
...om/brilliance/isc/funds/fxtsel/service/FxtselService.java
+2
-0
FxtselServiceImpl.java
...ance/isc/funds/fxtsel/service/impl/FxtselServiceImpl.java
+36
-0
No files found.
isc-funds-business/src/main/java/com/brilliance/isc/funds/fxtsel/resource/FxtselResource.java
View file @
2b742cbc
...
@@ -11,6 +11,7 @@ import org.springframework.web.bind.annotation.RequestBody;
...
@@ -11,6 +11,7 @@ import org.springframework.web.bind.annotation.RequestBody;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
javax.annotation.Resource
;
import
java.util.Map
;
import
java.util.Map
;
@RestController
@RestController
...
@@ -60,6 +61,15 @@ public class FxtselResource {
...
@@ -60,6 +61,15 @@ public class FxtselResource {
return
ResponseSet
.
simpleSuccess
(
fxtselService
.
dealWithByInr
(
trnCodeQueryVo
));
return
ResponseSet
.
simpleSuccess
(
fxtselService
.
dealWithByInr
(
trnCodeQueryVo
));
}
}
/**
* 详情页面初始化
*/
@PostMapping
(
"/selectXxdByPrimaryKey"
)
public
ResponseSet
selectXxdByPrimaryKey
(
@RequestBody
Map
<
String
,
String
>
map
){
return
ResponseSet
.
simpleSuccess
(
fxtselService
.
selectXxdByPrimaryKey
(
map
));
}
}
}
...
...
isc-funds-business/src/main/java/com/brilliance/isc/funds/fxtsel/service/FxtselService.java
View file @
2b742cbc
...
@@ -20,4 +20,6 @@ public interface FxtselService {
...
@@ -20,4 +20,6 @@ public interface FxtselService {
PageInfo
listjshpp
(
FxtselQueryVo
fxtselQueryVo
);
PageInfo
listjshpp
(
FxtselQueryVo
fxtselQueryVo
);
List
<
TrncodVo
>
dealWithByInr
(
TrnCodeQueryVo
trnCodeQueryVo
);
List
<
TrncodVo
>
dealWithByInr
(
TrnCodeQueryVo
trnCodeQueryVo
);
Object
selectXxdByPrimaryKey
(
Map
<
String
,
String
>
map
);
}
}
isc-funds-business/src/main/java/com/brilliance/isc/funds/fxtsel/service/impl/FxtselServiceImpl.java
View file @
2b742cbc
package
com
.
brilliance
.
isc
.
funds
.
fxtsel
.
service
.
impl
;
package
com
.
brilliance
.
isc
.
funds
.
fxtsel
.
service
.
impl
;
import
com.brilliance.isc.bo.Srm
;
import
com.brilliance.isc.bo.Trn
;
import
com.brilliance.isc.bo.model.Fxdgrp
;
import
com.brilliance.isc.bo.model.Fxdgrp
;
import
com.brilliance.isc.bo.model.Lidgrp
;
import
com.brilliance.isc.bo.model.Ltdgrp
;
import
com.brilliance.isc.common.sysmod.SysmodService
;
import
com.brilliance.isc.funds.bo.funds.FxtfopStoreBo
;
import
com.brilliance.isc.funds.common.component.FxToolComponent
;
import
com.brilliance.isc.funds.common.component.FxToolComponent
;
import
com.brilliance.isc.common.util.StringUtils
;
import
com.brilliance.isc.common.util.StringUtils
;
//import com.brilliance.isc.funds.bo.Fxdgrp;
//import com.brilliance.isc.funds.bo.Fxdgrp;
import
com.brilliance.isc.mda.dao.FxdMapper
;
import
com.brilliance.isc.mda.dao.FxdMapper
;
import
com.brilliance.isc.mda.dao.TrnMapper
;
import
com.brilliance.isc.vo.TrncodVo
;
import
com.brilliance.isc.vo.TrncodVo
;
import
com.brilliance.isc.vo.funds.FxtselQueryVo
;
import
com.brilliance.isc.vo.funds.FxtselQueryVo
;
import
com.brilliance.isc.vo.TrnCodeQueryVo
;
import
com.brilliance.isc.vo.TrnCodeQueryVo
;
import
com.brilliance.isc.vo.funds.FxdWithPtsCbbResponseVo
;
import
com.brilliance.isc.vo.funds.FxdWithPtsCbbResponseVo
;
import
com.brilliance.isc.funds.fxtsel.service.FxtselService
;
import
com.brilliance.isc.funds.fxtsel.service.FxtselService
;
import
com.brilliance.mda.runtime.mda.util.MdaUtils
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageInfo
;
import
com.github.pagehelper.PageInfo
;
import
com.google.common.collect.ImmutableMap
;
import
com.google.common.collect.ImmutableMap
;
...
@@ -19,6 +27,7 @@ import org.slf4j.LoggerFactory;
...
@@ -19,6 +27,7 @@ import org.slf4j.LoggerFactory;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
import
java.util.*
;
import
java.util.*
;
@Service
@Service
...
@@ -29,6 +38,12 @@ public class FxtselServiceImpl implements FxtselService {
...
@@ -29,6 +38,12 @@ public class FxtselServiceImpl implements FxtselService {
@Autowired
@Autowired
private
FxdMapper
fxdMapper
;
private
FxdMapper
fxdMapper
;
@Resource
private
TrnMapper
trnMapper
;
@Resource
private
SysmodService
sysmodService
;
@Autowired
@Autowired
private
FxToolComponent
fxToolComponent
;
private
FxToolComponent
fxToolComponent
;
...
@@ -92,4 +107,25 @@ public class FxtselServiceImpl implements FxtselService {
...
@@ -92,4 +107,25 @@ public class FxtselServiceImpl implements FxtselService {
}
}
return
result
;
return
result
;
}
}
@Override
public
Object
selectXxdByPrimaryKey
(
Map
<
String
,
String
>
map
)
{
String
objinr
=
map
.
get
(
"objinr"
);
String
objtyp
=
map
.
get
(
"objtyp"
);
String
pntinr
=
map
.
get
(
"pntinr"
);
FxtfopStoreBo
fxtfopStoreBo
=
new
FxtfopStoreBo
();
fxtfopStoreBo
.
reset
();
if
(
objinr
.
length
()
==
16
)
{
Trn
trnLid
=
trnMapper
.
selectByObjinrTrn
(
objtyp
,
objinr
,
"FXTFOP"
);
if
(!
Objects
.
isNull
(
trnLid
))
{
fxtfopStoreBo
=
sysmodService
.
streamGetNameInSubDir
(
FxtfopStoreBo
.
class
,
trnLid
.
getInr
());
}
}
fxtfopStoreBo
.
setFxdgrp
(
fxToolComponent
.
getFxdgrpByInr
(
objinr
));
return
fxtfopStoreBo
;
}
}
}
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