Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
ec70ca6b
Commit
ec70ca6b
authored
Sep 03, 2024
by
wujiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改银行回调
parent
7947b0f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
HygfIcbcServiceImpl.java
...oot/module/hygf/biz/service/impl/HygfIcbcServiceImpl.java
+7
-8
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/HygfIcbcServiceImpl.java
View file @
ec70ca6b
...
...
@@ -287,7 +287,7 @@ public class HygfIcbcServiceImpl extends BaseService<HygfIcbcRecordDTO, HygfIcbc
Map
<
String
,
String
>
data
=
JSONObject
.
parseObject
(
decode
,
Map
.
class
);
log
.
debug
(
"解密后参数:{}"
,
data
);
// 进行自己的处理,此处默认处理成功,返回通知方成功,return_code=0
// 其中certNo、custName、newPayAcc字段进行了base64编码,可以调用示例代码中的base64Decode进行解码
String
custName
=
base64Decode
(
data
.
get
(
"custName"
));
//
String custName = base64Decode(data.get("custName"));
String
certNo
=
base64Decode
(
data
.
get
(
"certNo"
));
String
newPayAcc
=
base64Decode
(
data
.
get
(
"newPayAcc"
));
String
outUserId
=
data
.
get
(
"outUserId"
);
...
...
@@ -301,13 +301,6 @@ public class HygfIcbcServiceImpl extends BaseService<HygfIcbcRecordDTO, HygfIcbc
if
(
hygfIcbcRecord
==
null
)
{
hygfIcbcRecord
=
new
HygfIcbcRecord
();
}
hygfIcbcRecord
.
setCustName
(
custName
);
hygfIcbcRecord
.
setIdCard
(
certNo
);
hygfIcbcRequest
.
setPhase
(
"组装"
);
hygfIcbcRequest
.
setException
(
data
.
get
(
"custName"
)
+
" -> "
+
custName
);
hygfIcbcRequestMapper
.
updateById
(
hygfIcbcRequest
);
PeasantHousehold
peasantHousehold
=
peasantHouseholdService
.
lambdaQuery
()
.
select
(
PeasantHousehold:
:
getTelephone
).
eq
(
PeasantHousehold:
:
getAmosUserId
,
outUserId
)
.
last
(
"limit 1"
).
one
();
...
...
@@ -316,6 +309,12 @@ public class HygfIcbcServiceImpl extends BaseService<HygfIcbcRecordDTO, HygfIcbc
hygfIcbcRecord
.
setProjectId
(
projectId
);
hygfIcbcRecord
.
setOpenAccountStatus
(
openAccoutSucceedFlag
);
hygfIcbcRecord
.
setSignEntrsutPrtlStatus
(
signEntrsutPrtlSucceedFlag
);
hygfIcbcRecord
.
setCustName
(
peasantHousehold
.
getOwnersName
());
hygfIcbcRecord
.
setIdCard
(
certNo
);
hygfIcbcRequest
.
setPhase
(
"组装"
);
hygfIcbcRequest
.
setException
(
data
.
get
(
"custName"
)
+
" -> "
+
peasantHousehold
.
getOwnersName
());
hygfIcbcRequestMapper
.
updateById
(
hygfIcbcRequest
);
if
(
hygfIcbcWalletInfo
!=
null
)
{
hygfIcbcRecord
.
setCustName
(
hygfIcbcWalletInfo
.
getCustName
());
hygfIcbcRecord
.
setIdCard
(
hygfIcbcWalletInfo
.
getCertNo
());
...
...
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