Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xingmin
yd-csf
Commits
688b2b53
Commit
688b2b53
authored
Jun 09, 2026
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
薪资发放页面字段调整2
parent
77225d3a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiSalarySplitServiceImpl.java
+4
-4
yd-csf-service/src/main/java/com/yd/csf/service/vo/FortuneAccountVO.java
+9
-3
No files found.
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiSalarySplitServiceImpl.java
View file @
688b2b53
...
@@ -133,8 +133,8 @@ public class ApiSalarySplitServiceImpl implements ApiSalarySplitService {
...
@@ -133,8 +133,8 @@ public class ApiSalarySplitServiceImpl implements ApiSalarySplitService {
// 查询统计信息
// 查询统计信息
ApiSalarySplitStatisticsDto
statisticsDto
=
new
ApiSalarySplitStatisticsDto
();
ApiSalarySplitStatisticsDto
statisticsDto
=
new
ApiSalarySplitStatisticsDto
();
FortuneAccount
fortuneAccount
=
fortuneAccountService
.
queryOne
(
request
.
getFortuneAccountBizId
());
FortuneAccount
fortuneAccount
=
fortuneAccountService
.
queryOne
(
request
.
getFortuneAccountBizId
());
//
出账
币种
//
发放
币种
statisticsDto
.
setBeSplitCurrency
(
fortuneAccount
!=
null
?
fortuneAccount
.
getCurrency
()
:
""
);
statisticsDto
.
setBeSplitCurrency
(
fortuneAccount
!=
null
?
fortuneAccount
.
get
Payout
Currency
()
:
""
);
BigDecimal
beSplitAmount
=
BigDecimal
.
ZERO
;
BigDecimal
beSplitAmount
=
BigDecimal
.
ZERO
;
if
(
fortuneAccount
!=
null
)
{
if
(
fortuneAccount
!=
null
)
{
...
@@ -239,7 +239,7 @@ public class ApiSalarySplitServiceImpl implements ApiSalarySplitService {
...
@@ -239,7 +239,7 @@ public class ApiSalarySplitServiceImpl implements ApiSalarySplitService {
// 4. 封装响应
// 4. 封装响应
ApiQueryRemainingResponse
response
=
new
ApiQueryRemainingResponse
();
ApiQueryRemainingResponse
response
=
new
ApiQueryRemainingResponse
();
response
.
setCurrency
(
fortuneAccount
.
getCurrency
());
response
.
setCurrency
(
fortuneAccount
.
get
Payout
Currency
());
response
.
setFromAmount
(
beSplitAmount
);
response
.
setFromAmount
(
beSplitAmount
);
return
Result
.
success
(
response
);
return
Result
.
success
(
response
);
}
}
...
@@ -260,7 +260,7 @@ public class ApiSalarySplitServiceImpl implements ApiSalarySplitService {
...
@@ -260,7 +260,7 @@ public class ApiSalarySplitServiceImpl implements ApiSalarySplitService {
//原币种金额
//原币种金额
convertRequest
.
setAmount
(
request
.
getFromAmount
());
convertRequest
.
setAmount
(
request
.
getFromAmount
());
//原币种
//原币种
convertRequest
.
setFromCurrency
(
fortuneAccount
.
getCurrency
());
convertRequest
.
setFromCurrency
(
fortuneAccount
.
get
Payout
Currency
());
//目标币种
//目标币种
convertRequest
.
setToCurrency
(
request
.
getToCurrency
());
convertRequest
.
setToCurrency
(
request
.
getToCurrency
());
//调用远程转换接口
//调用远程转换接口
...
...
yd-csf-service/src/main/java/com/yd/csf/service/vo/FortuneAccountVO.java
View file @
688b2b53
...
@@ -51,10 +51,16 @@ public class FortuneAccountVO {
...
@@ -51,10 +51,16 @@ public class FortuneAccountVO {
private
String
team
;
private
String
team
;
/**
/**
*
出账
币种
*
发放
币种
*/
*/
@Schema
(
description
=
"出账币种"
)
@Schema
(
description
=
"发放币种"
)
private
String
currency
;
private
String
payoutCurrency
;
/**
* 发放金额
*/
@Schema
(
description
=
"发放金额"
)
private
BigDecimal
payoutAmount
;
/**
/**
* 港币出账金额
* 港币出账金额
...
...
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