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
2909c2db
Commit
2909c2db
authored
Oct 24, 2024
by
huangshunlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
即期结售汇查询
parent
ef8e0d83
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
23 deletions
+23
-23
FxtselService.java
...om/brilliance/isc/funds/fxtsel/service/FxtselService.java
+1
-1
FxtselServiceImpl.java
...ance/isc/funds/fxtsel/service/impl/FxtselServiceImpl.java
+22
-22
No files found.
isc-funds-business/src/main/java/com/brilliance/isc/funds/fxtsel/service/FxtselService.java
View file @
2909c2db
...
@@ -23,5 +23,5 @@ public interface FxtselService {
...
@@ -23,5 +23,5 @@ public interface FxtselService {
Object
selectXxdByPrimaryKey
(
Map
<
String
,
String
>
map
);
Object
selectXxdByPrimaryKey
(
Map
<
String
,
String
>
map
);
Object
jshDealWithByInr
(
TrnCodeQueryVo
trnCodeQueryVo
);
Object
jshDealWithByInr
(
String
inr
);
}
}
isc-funds-business/src/main/java/com/brilliance/isc/funds/fxtsel/service/impl/FxtselServiceImpl.java
View file @
2909c2db
...
@@ -12,10 +12,10 @@ import com.brilliance.isc.vo.TrnCodeQueryVo;
...
@@ -12,10 +12,10 @@ import com.brilliance.isc.vo.TrnCodeQueryVo;
import
com.brilliance.isc.vo.TrncodVo
;
import
com.brilliance.isc.vo.TrncodVo
;
import
com.brilliance.isc.vo.funds.FxdWithPtsCbbResponseVo
;
import
com.brilliance.isc.vo.funds.FxdWithPtsCbbResponseVo
;
import
com.brilliance.isc.vo.funds.FxtselQueryVo
;
import
com.brilliance.isc.vo.funds.FxtselQueryVo
;
import
com.brilliance.mda.runtime.mda.util.Strings
;
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.Lists
;
import
com.google.common.collect.Lists
;
import
org.apache.commons.lang3.StringUtils
;
import
org.slf4j.Logger
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
@@ -91,17 +91,15 @@ public class FxtselServiceImpl implements FxtselService {
...
@@ -91,17 +91,15 @@ public class FxtselServiceImpl implements FxtselService {
@Override
@Override
public
List
<
TrncodVo
>
dealWithByInr
(
TrnCodeQueryVo
trnCodeQueryVo
)
{
public
List
<
TrncodVo
>
dealWithByInr
(
TrnCodeQueryVo
trnCodeQueryVo
)
{
String
type
=
StringUtils
.
trimToEmpty
(
trnCodeQueryVo
.
getType
());
String
type
=
Strings
.
toUpper
(
trnCodeQueryVo
.
getType
());
String
inr
=
trnCodeQueryVo
.
getInr
();
if
(
"JSH"
.
equals
(
type
))
{
if
(
"JSH"
.
equals
(
type
))
{
//结售汇页签
//结售汇页签
return
jshDealWithByInr
(
trnCodeQueryVo
);
return
jshDealWithByInr
(
inr
);
}
}
List
<
TrncodVo
>
result
=
Lists
.
newArrayList
();
List
<
TrncodVo
>
result
=
Lists
.
newArrayList
();
Fxdgrp
fxdgrp
=
new
Fxdgrp
();
Fxdgrp
fxdgrp
=
fxToolComponent
.
getFxdgrpByInr
(
inr
);
fxdgrp
=
fxToolComponent
.
getFxdgrpByInr
(
trnCodeQueryVo
.
getInr
());
if
(
"DHPP"
.
equals
(
type
))
{
if
(
"dhpp"
.
equals
(
type
.
toLowerCase
()))
{
String
[]
fxTraArray
=
{
"FXTFCM"
,
"FXTFCN"
};
String
[]
fxTraArray
=
{
"FXTFCM"
,
"FXTFCN"
};
String
[]
fxButArray
=
{
"外币兑换平盘确认"
,
"外币兑换平盘销账"
};
String
[]
fxButArray
=
{
"外币兑换平盘确认"
,
"外币兑换平盘销账"
};
String
isAllowed
=
""
;
String
isAllowed
=
""
;
...
@@ -110,7 +108,7 @@ public class FxtselServiceImpl implements FxtselService {
...
@@ -110,7 +108,7 @@ public class FxtselServiceImpl implements FxtselService {
fxToolComponent
.
isFXTrnAllowed
(
fxdgrp
,
trncodVo
);
fxToolComponent
.
isFXTrnAllowed
(
fxdgrp
,
trncodVo
);
result
.
add
(
trncodVo
);
result
.
add
(
trncodVo
);
}
}
}
else
if
(
"
jshpp"
.
equals
(
type
.
toLowerCase
()
))
{
}
else
if
(
"
JSHPP"
.
equals
(
type
))
{
String
[]
fxTraArray
=
{
"FXTLCM"
,
"FXTLCN"
};
String
[]
fxTraArray
=
{
"FXTLCM"
,
"FXTLCN"
};
String
[]
fxButArray
=
{
"结售汇平盘确认"
,
"结售汇平盘销账"
};
String
[]
fxButArray
=
{
"结售汇平盘确认"
,
"结售汇平盘销账"
};
String
isAllowed
=
""
;
String
isAllowed
=
""
;
...
@@ -119,20 +117,7 @@ public class FxtselServiceImpl implements FxtselService {
...
@@ -119,20 +117,7 @@ public class FxtselServiceImpl implements FxtselService {
fxToolComponent
.
isFXTrnAllowed
(
fxdgrp
,
trncodVo
);
fxToolComponent
.
isFXTrnAllowed
(
fxdgrp
,
trncodVo
);
result
.
add
(
trncodVo
);
result
.
add
(
trncodVo
);
}
}
}
else
if
(
"jsh"
.
equals
(
type
.
toLowerCase
()))
{
String
[]
fxTraArray
=
{
"FXTSQO"
};
String
[]
fxButArray
=
{
"结售汇报价"
};
String
isAllowed
=
""
;
for
(
int
i
=
0
;
i
<
fxTraArray
.
length
;
i
++)
{
TrncodVo
trncodVo
=
new
TrncodVo
(
fxTraArray
[
i
],
fxButArray
[
i
],
isAllowed
,
"Y"
,
""
);
fxToolComponent
.
isFXTrnAllowed
(
fxdgrp
,
trncodVo
);
result
.
add
(
trncodVo
);
}
}
else
{
}
}
return
result
;
return
result
;
}
}
...
@@ -155,4 +140,19 @@ public class FxtselServiceImpl implements FxtselService {
...
@@ -155,4 +140,19 @@ public class FxtselServiceImpl implements FxtselService {
}
}
@Override
public
List
<
TrncodVo
>
jshDealWithByInr
(
String
inr
)
{
List
<
TrncodVo
>
result
=
Lists
.
newArrayList
();
Fxdgrp
fxdgrp
=
fxToolComponent
.
getFxdgrpByInr
(
inr
);
String
[]
fxTraArray
=
{
"FXTSQO"
};
String
[]
fxButArray
=
{
"结售汇报价"
};
String
isAllowed
=
""
;
for
(
int
i
=
0
;
i
<
fxTraArray
.
length
;
i
++)
{
TrncodVo
trncodVo
=
new
TrncodVo
(
fxTraArray
[
i
],
fxButArray
[
i
],
isAllowed
,
"Y"
,
""
);
fxToolComponent
.
isFXTrnAllowed2
(
fxdgrp
,
trncodVo
);
result
.
add
(
trncodVo
);
}
return
result
;
}
}
}
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