Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
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
fangxinjiang
yifu-mvp
Commits
9f96ff97
Commit
9f96ff97
authored
Dec 03, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.2 优化
parent
5382540a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
IcbcTransactionFlowIssueServiceImpl.java
...ekp/service/impl/IcbcTransactionFlowIssueServiceImpl.java
+9
-3
No files found.
yifu-ekp/yifu-ekp-biz/src/main/java/com/yifu/cloud/plus/v1/ekp/service/impl/IcbcTransactionFlowIssueServiceImpl.java
View file @
9f96ff97
...
...
@@ -825,8 +825,7 @@ public class IcbcTransactionFlowIssueServiceImpl extends ServiceImpl<EkpSocialIn
// 返回码,交易成功返回0,正表示业务报错,负表示系统报错
if
(
"0"
.
equals
(
responseV1
.
getReturn_code
()))
{
// 处理状态: 00-待提交,01-已提交 02-待授权 03-待银行处理, 04-处理成功,05-处理失败
if
(
"04"
.
equals
(
responseV1
.
getStatus
())
||
(
"05"
.
equals
(
responseV1
.
getStatus
())
&&
responseV1
.
getDatalist
()
!=
null
&&
!
responseV1
.
getDatalist
().
isEmpty
()
))
{
if
(
"04"
.
equals
(
responseV1
.
getStatus
()))
{
// 生成日志主表
logs
=
new
EkpBankGrantLog
();
...
...
@@ -912,10 +911,17 @@ public class IcbcTransactionFlowIssueServiceImpl extends ServiceImpl<EkpSocialIn
ekpBankGrantLogService
.
updateById
(
logs
);
}
else
if
(
"05"
.
equals
(
responseV1
.
getStatus
()))
{
main
=
new
EkpBankPayTask
();
// 2024-12-3 10:58:24 银企付款任务,定时获取结果,返回状态码05的,现在全部改为处理失败
// ,取第一条结果里的原因展示在主列表上。@易服智享 孙兆松 @易服智享 金龙弟
if
(
responseV1
.
getDatalist
()
!=
null
&&
!
responseV1
.
getDatalist
().
isEmpty
()
&&
Common
.
isNotNull
(
responseV1
.
getDatalist
().
get
(
0
).
getCompanyHandlerResult
()))
{
main
.
setFdErrorMsg
(
responseV1
.
getDatalist
().
get
(
0
).
getCompanyHandlerResult
());
}
else
{
main
.
setFdErrorMsg
(
responseV1
.
getErrordesc
());
}
main
.
setFdId
(
vo
.
getFdId
());
// 2024-11-29 16:55:32 经 项目经理王鹏 与 产品经理 孙兆松 沟通,将 “银企付款任务”列表的“发放状态”的值,由“拒绝授权”改为“处理失败”。
main
.
setFdGrantStatus
(
"处理失败"
);
main
.
setFdErrorMsg
(
responseV1
.
getErrordesc
());
ekpBankPayTaskService
.
updateById
(
main
);
// 更新明细状态为 发放失败,原因为处理失败
//ekpBankGrantDetailService.updateStatusByGrantFail(vo.getFdId())
...
...
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