Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-evaluate
Overview
Overview
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
base_platform_enterprise
gic-evaluate
Commits
940499ba
Commit
940499ba
authored
Feb 07, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接受订单信息
parent
2c8dd2fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
EvaluateMsgLogApiServiceImpl.java
...uate/service/outer/impl/EvaluateMsgLogApiServiceImpl.java
+8
-1
No files found.
gic-evaluate-service/src/main/java/com/gic/evaluate/service/outer/impl/EvaluateMsgLogApiServiceImpl.java
View file @
940499ba
...
...
@@ -95,6 +95,7 @@ public class EvaluateMsgLogApiServiceImpl implements EvaluateMsgLogApiService {
for
(
Integer
enterpriseId
:
enterpriseIds
)
{
GicMQClient
client
=
GICMQClientUtil
.
getClientInstance
();
try
{
logger
.
info
(
"定时发送 企业:{}"
,
enterpriseId
.
toString
());
client
.
sendMessage
(
"queueSendMemberMessage"
,
enterpriseId
.
toString
());
}
catch
(
Exception
e
)
{
logger
.
info
(
"发送队列错误"
,
e
);
...
...
@@ -132,6 +133,7 @@ public class EvaluateMsgLogApiServiceImpl implements EvaluateMsgLogApiService {
}
private
void
sendMsg
(
Integer
enterpriseId
,
TabEvaluateMsgLog
log
)
{
// 发送信息
MQNoticeSendDTO
notice
=
new
MQNoticeSendDTO
();
...
...
@@ -161,7 +163,12 @@ public class EvaluateMsgLogApiServiceImpl implements EvaluateMsgLogApiService {
// 事件需要的事件级变量 ,具体变量参考附件
notice
.
setValueMap
(
valueMap
);
this
.
noticeRouterApiService
.
putNoticeSendRouter
(
notice
);
ServiceResponse
<
Void
>
voidServiceResponse
=
this
.
noticeRouterApiService
.
putNoticeSendRouter
(
notice
);
if
(
voidServiceResponse
.
isSuccess
())
{
logger
.
info
(
"发送评价提醒成功 orderId:{}"
,
log
.
getOrderId
());
}
else
{
logger
.
warn
(
"发送评价提醒失败 orderId:{}, msg:{}"
,
log
.
getOrderId
(),
voidServiceResponse
.
getMessage
());
}
}
...
...
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