Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-support-rlwx
Project
Project
Details
Activity
Releases
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
rl
hls-support-rlwx
Commits
b014a6af
Commit
b014a6af
authored
Apr 26, 2022
by
胡建龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20220426 记录订单状态及日志
parent
0d60ea3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
HclcCmbPolyServiceImpl.java
...com/hand/app/cmb/service/impl/HclcCmbPolyServiceImpl.java
+3
-1
No files found.
core/src/main/java/com/hand/app/cmb/service/impl/HclcCmbPolyServiceImpl.java
View file @
b014a6af
...
...
@@ -809,10 +809,12 @@ public class HclcCmbPolyServiceImpl implements HclcCmbPolyService {
System
.
out
.
println
(
params
);
String
requestBodyString
=
params
.
toJSONString
();
Map
<
String
,
String
>
respData
=
new
HashMap
<>();
//设置响应数据
respData
.
put
(
"version"
,
"0.0.1"
);
//版本号,固定为0.0.1(必传)
respData
.
put
(
"encoding"
,
"UTF-8"
);
//编码方式,固定为UTF-8(必传)
respData
.
put
(
"signMethod"
,
"02"
);
//签名方法,固定为02,国密
try
{
respData
.
put
(
"returnCode"
,
"SUCCESS"
);
//SUCCESS表示商户接收通知成功并校验成功
//非空校验
...
...
@@ -849,7 +851,7 @@ public class HclcCmbPolyServiceImpl implements HclcCmbPolyService {
hlsEbankCcbTransaction
.
setStatus
(
tranSuccess
);
hlsEbankCcbTransaction
.
setOrderStatus
(
"S"
);
hlsEbankCcbTransactionMapper
.
updateByPrimaryKeySelective
(
hlsEbankCcbTransaction
);
hlsWsRequestsMapper
.
updateByPrimaryKey
(
logInterfaceRequest
(
queryQrState
,
url
,
new
ObjectMapper
().
writeValueAsString
(
respData
),
hlsEbankCcbTransaction
.
getTransactionId
()));
respData
.
put
(
"respCode"
,
"SUCCESS"
);
//业务错误码,成功为SUCCESS,失败为FAIL
/*如果处理自身业务逻辑发生错误,返回
respData.put("respCode","FAIL");
...
...
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