Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
research-project
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj
research-project
Commits
929d1200
Commit
929d1200
authored
Mar 19, 2025
by
阳浪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消息优化
parent
9b182af9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
cloud-research-service/src/main/java/com/yizhi/research/application/util/ResearchEvenSendMessage.java
+4
-4
No files found.
cloud-research-service/src/main/java/com/yizhi/research/application/util/ResearchEvenSendMessage.java
View file @
929d1200
...
@@ -103,7 +103,7 @@ public class ResearchEvenSendMessage {
...
@@ -103,7 +103,7 @@ public class ResearchEvenSendMessage {
if
(
null
!=
remindVo
&&
null
!=
remindVo
.
getIsCopy
()
&&
remindVo
.
getIsCopy
())
{
if
(
null
!=
remindVo
&&
null
!=
remindVo
.
getIsCopy
()
&&
remindVo
.
getIsCopy
())
{
vo
.
setIsCopy
(
remindVo
.
getIsCopy
());
vo
.
setIsCopy
(
remindVo
.
getIsCopy
());
vo
.
setOldRelationId
(
remindVo
.
getOldRelationId
());
vo
.
setOldRelationId
(
remindVo
.
getOldRelationId
());
publicSendMessageClient
.
processBizEvent
(
new
EventWrapper
<
MessageRemindVo
>(
null
,
vo
)
);
publicSendMessageClient
.
processBizEvent
(
vo
);
logger
.
error
(
"发送复制消息成功====================="
);
logger
.
error
(
"发送复制消息成功====================="
);
return
;
return
;
}
}
...
@@ -116,7 +116,7 @@ public class ResearchEvenSendMessage {
...
@@ -116,7 +116,7 @@ public class ResearchEvenSendMessage {
}
}
if
(
null
!=
remindVo
.
getHasDeleted
()
&&
remindVo
.
getHasDeleted
())
{
if
(
null
!=
remindVo
.
getHasDeleted
()
&&
remindVo
.
getHasDeleted
())
{
vo
.
setHasDeleted
(
remindVo
.
getHasDeleted
());
vo
.
setHasDeleted
(
remindVo
.
getHasDeleted
());
publicSendMessageClient
.
processBizEvent
(
new
EventWrapper
<
MessageRemindVo
>(
null
,
vo
)
);
publicSendMessageClient
.
processBizEvent
(
vo
);
logger
.
error
(
"发送删除消息成功====================="
);
logger
.
error
(
"发送删除消息成功====================="
);
}
else
{
}
else
{
//修改调研的状态
//修改调研的状态
...
@@ -124,7 +124,7 @@ public class ResearchEvenSendMessage {
...
@@ -124,7 +124,7 @@ public class ResearchEvenSendMessage {
//1 为消息业务可发送状态 0 则不行
//1 为消息业务可发送状态 0 则不行
vo
.
setTaskStatusUpdate
(
true
);
vo
.
setTaskStatusUpdate
(
true
);
vo
.
setTaskStatus
(
research
.
getState
()
==
ResearchState
.
RELEASED
.
getValue
()
?
1
:
0
);
vo
.
setTaskStatus
(
research
.
getState
()
==
ResearchState
.
RELEASED
.
getValue
()
?
1
:
0
);
publicSendMessageClient
.
processBizEvent
(
new
EventWrapper
<
MessageRemindVo
>(
null
,
vo
)
);
publicSendMessageClient
.
processBizEvent
(
vo
);
logger
.
info
(
"发送修改业务状态消息成功====================="
);
logger
.
info
(
"发送修改业务状态消息成功====================="
);
return
;
return
;
}
}
...
@@ -157,7 +157,7 @@ public class ResearchEvenSendMessage {
...
@@ -157,7 +157,7 @@ public class ResearchEvenSendMessage {
logger
.
info
(
"相关参数缺失!!!!!"
);
logger
.
info
(
"相关参数缺失!!!!!"
);
return
;
return
;
}
}
publicSendMessageClient
.
processBizEvent
(
new
EventWrapper
<
MessageRemindVo
>(
null
,
vo
)
);
publicSendMessageClient
.
processBizEvent
(
vo
);
logger
.
info
(
"发送消息成功====================="
);
logger
.
info
(
"发送消息成功====================="
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
...
...
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