Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-financial
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 61c94038
authored
May 21, 2026
by
崔彦峰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改二手车业务发起财资转账封装逻辑。
1 parent
df9f3f96
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
rpc-dj-financial/src/main/java/cn/com/glsx/dj/financial/service/ThirdPartyNiBoBatchStrategy.java
rpc-dj-financial/src/main/java/cn/com/glsx/dj/financial/service/ThirdPartyNiBoBatchStrategy.java
View file @
61c9403
...
@@ -54,6 +54,9 @@ public class ThirdPartyNiBoBatchStrategy implements ThirdPartyStrategy{
...
@@ -54,6 +54,9 @@ public class ThirdPartyNiBoBatchStrategy implements ThirdPartyStrategy{
@Override
@Override
public
Object
buildRequestParams
(
ApprovalRecords
approvalRecord
,
String
custId
,
Integer
custType
)
{
public
Object
buildRequestParams
(
ApprovalRecords
approvalRecord
,
String
custId
,
Integer
custType
)
{
int
remarksLengthMax
=
37
;
String
glskTemplateId
=
environment
.
getProperty
(
"vcp.car.glsk.templateId"
);
String
yjzhTemplateId
=
environment
.
getProperty
(
"vcp.car.yjzh.templateId"
);
NbCbBatchTransferParamDTO
batchTransferParam
=
new
NbCbBatchTransferParamDTO
();
NbCbBatchTransferParamDTO
batchTransferParam
=
new
NbCbBatchTransferParamDTO
();
batchTransferParam
.
setPayName
(
approvalRecord
.
getPayerEntity
());
batchTransferParam
.
setPayName
(
approvalRecord
.
getPayerEntity
());
// 转化收款账号
// 转化收款账号
...
@@ -87,6 +90,25 @@ public class ThirdPartyNiBoBatchStrategy implements ThirdPartyStrategy{
...
@@ -87,6 +90,25 @@ public class ThirdPartyNiBoBatchStrategy implements ThirdPartyStrategy{
purpose
=
bankSummary
;
purpose
=
bankSummary
;
}
}
}
}
if
(
StringUtils
.
isNotBlank
(
glskTemplateId
)
||
StringUtils
.
isNotBlank
(
yjzhTemplateId
))
{
if
(
StringUtils
.
isNotBlank
(
bankSummary
))
{
if
(
bankSummary
.
equals
(
"其他"
))
{
String
remarks
=
approvalRecord
.
getRemarks
();
if
(
StringUtils
.
isNotBlank
(
remarks
))
{
remarks
=
remarks
.
trim
().
replaceAll
(
"\n"
,
" "
).
replaceAll
(
"\r\n"
,
" "
);
purpose
=
remarks
;
int
length
=
purpose
.
length
();
if
(
length
>
remarksLengthMax
)
{
purpose
=
purpose
.
substring
(
0
,
remarksLengthMax
);
}
}
else
{
purpose
=
"采购款"
;
}
}
else
{
purpose
=
bankSummary
;
}
}
}
batchTransferParam
.
setSpNo
(
approvalRecord
.
getSpNo
());
batchTransferParam
.
setSpNo
(
approvalRecord
.
getSpNo
());
batchTransferParam
.
setCustType
(
custType
);
batchTransferParam
.
setCustType
(
custType
);
batchTransferParam
.
setCustId
(
custId
);
batchTransferParam
.
setCustId
(
custId
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment