Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
customer-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QG
customer-service
Commits
242c4cfa
Commit
242c4cfa
authored
Mar 24, 2023
by
王亮
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-trans-log-20230324' into 'master'
修复日志 See merge request
!13
parents
030c24e0
4a7a0ae5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
TransactionReceiptRecordServiceImpl.java
...mer/service/impl/TransactionReceiptRecordServiceImpl.java
+2
-2
No files found.
src/main/java/cn/quantgroup/customer/service/impl/TransactionReceiptRecordServiceImpl.java
View file @
242c4cfa
...
@@ -381,7 +381,7 @@ public class TransactionReceiptRecordServiceImpl implements ITransactionReceiptR
...
@@ -381,7 +381,7 @@ public class TransactionReceiptRecordServiceImpl implements ITransactionReceiptR
paramList
.
add
(
param
);
paramList
.
add
(
param
);
//得到json字符串
//得到json字符串
String
result
=
httpService
.
post
(
url
,
header
,
paramList
);
String
result
=
httpService
.
post
(
url
,
header
,
paramList
);
log
.
info
(
"
调用kdsp查询订单接口返回结果,result:{}"
,
result
);
log
.
info
(
"
[导出凭证]请求kdsp接口调用, 参数:{}, result:{}"
,
JSONObject
.
toJSONString
(
paramList
),
result
);
//转换成json 对象
//转换成json 对象
if
(
StringUtils
.
isBlank
(
result
)){
if
(
StringUtils
.
isBlank
(
result
)){
deleteRedis
(
"exportZipFile"
);
deleteRedis
(
"exportZipFile"
);
...
@@ -660,7 +660,7 @@ public class TransactionReceiptRecordServiceImpl implements ITransactionReceiptR
...
@@ -660,7 +660,7 @@ public class TransactionReceiptRecordServiceImpl implements ITransactionReceiptR
paramList
.
add
(
param1
);
paramList
.
add
(
param1
);
String
kResult
=
httpService
.
post
(
kUrl
,
header
,
paramList
);
String
kResult
=
httpService
.
post
(
kUrl
,
header
,
paramList
);
JSONObject
kJson
=
JSONObject
.
parseObject
(
kResult
);
JSONObject
kJson
=
JSONObject
.
parseObject
(
kResult
);
log
.
info
(
"
TransactionReceiptRecordServiceImpl kResult ="
+
kResult
);
log
.
info
(
"
[导入凭证]请求kdsp接口, 参数:{}, Result:{}"
,
JSONObject
.
toJSONString
(
paramList
),
kResult
);
String
businessCode
=
kJson
.
getString
(
"businessCode"
);
String
businessCode
=
kJson
.
getString
(
"businessCode"
);
if
(!
"0000"
.
equals
(
businessCode
)){
if
(!
"0000"
.
equals
(
businessCode
)){
deleteRedis
(
"importTransactionReceiptRecord"
);
deleteRedis
(
"importTransactionReceiptRecord"
);
...
...
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