Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
T
tcm-system
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
TCM
tcm-system
Commits
9f4ec4ff
Commit
9f4ec4ff
authored
May 10, 2021
by
tangf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
保存资金流水和商户余额MQ拆分
parent
407188f2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
CompanyConsumer.java
...n/java/com/pangding/web/authority/mq/CompanyConsumer.java
+2
-6
No files found.
src/main/java/com/pangding/web/authority/mq/CompanyConsumer.java
View file @
9f4ec4ff
package
com
.
pangding
.
web
.
authority
.
mq
;
package
com
.
pangding
.
web
.
authority
.
mq
;
import
com.pangding.web.authority.service.CompanyMsgService
;
import
com.pangding.web.authority.service.CompanyMsgService
;
import
com.pangding.web.authority.service.CompanyService
;
import
com.pangding.web.authority.service.FinanceService
;
import
com.pangding.web.authority.service.FinanceService
;
import
com.pangding.web.constant.MqConstant
;
import
com.pangding.web.constant.MqConstant
;
import
com.pangding.web.constant.OrderConstant
;
import
com.pangding.web.mq.CompanyProducer
;
import
com.pangding.web.mq.CompanyProducer
;
import
com.pangding.web.mq.OrderProducer
;
import
com.pangding.web.mq.OrderProducer
;
import
com.pangding.web.mq.PayProducer
;
import
com.pangding.web.mq.PayProducer
;
...
@@ -44,8 +42,6 @@ public class CompanyConsumer {
...
@@ -44,8 +42,6 @@ public class CompanyConsumer {
@Autowired
@Autowired
private
MqService
mqService
;
private
MqService
mqService
;
@Autowired
@Autowired
private
CompanyService
companyService
;
@Autowired
private
CompanyMsgService
companyMsgService
;
private
CompanyMsgService
companyMsgService
;
@Autowired
@Autowired
private
FinanceService
financeService
;
private
FinanceService
financeService
;
...
@@ -146,13 +142,13 @@ public class CompanyConsumer {
...
@@ -146,13 +142,13 @@ public class CompanyConsumer {
try
{
try
{
financeService
.
withdrawalBack
(
req
);
financeService
.
withdrawalBack
(
req
);
// 保存订单日志MQ
// 保存订单日志MQ
OrderLogReqVo
orderLogReqVo
=
new
OrderLogReqVo
(
StringHelper
.
getNewID
(),
req
.
getId
(),
OrderConstant
.
ORDER_REFUND_BACK
,
OrderLogReqVo
orderLogReqVo
=
new
OrderLogReqVo
(
StringHelper
.
getNewID
(),
req
.
getId
(),
"提现回调"
,
JsonHelper
.
serialize
(
req
),
""
,
req
.
getCompanyId
(),
""
);
JsonHelper
.
serialize
(
req
),
""
,
req
.
getCompanyId
(),
""
);
saveOrderLog
(
orderLogReqVo
);
saveOrderLog
(
orderLogReqVo
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
Log
.
error
(
CompanyConsumer
.
class
,
e
);
Log
.
error
(
CompanyConsumer
.
class
,
e
);
// 保存订单日志MQ
// 保存订单日志MQ
OrderLogReqVo
orderLogReqVo
=
new
OrderLogReqVo
(
StringHelper
.
getNewID
(),
req
.
getId
(),
OrderConstant
.
ORDER_REFUND_BACK
,
OrderLogReqVo
orderLogReqVo
=
new
OrderLogReqVo
(
StringHelper
.
getNewID
(),
req
.
getId
(),
"提现回调"
,
JsonHelper
.
serialize
(
req
),
e
.
getMessage
(),
req
.
getCompanyId
(),
""
);
JsonHelper
.
serialize
(
req
),
e
.
getMessage
(),
req
.
getCompanyId
(),
""
);
saveOrderLog
(
orderLogReqVo
);
saveOrderLog
(
orderLogReqVo
);
}
finally
{
}
finally
{
...
...
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