Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
Y
yzg-util
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
YZG
yzg-util
Commits
803753fa
Commit
803753fa
authored
Jan 13, 2022
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下载视频
parent
0bbecbd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
MessageLogServiceImpl.java
...om/yanzuoguang/mq/service/impl/MessageLogServiceImpl.java
+1
-2
No files found.
yzg-util-mq/src/main/java/com/yanzuoguang/mq/service/impl/MessageLogServiceImpl.java
View file @
803753fa
...
@@ -7,7 +7,6 @@ import com.yanzuoguang.mq.vo.MessageLogVo;
...
@@ -7,7 +7,6 @@ import com.yanzuoguang.mq.vo.MessageLogVo;
import
com.yanzuoguang.mq.vo.req.MessageLogRemoveReqVo
;
import
com.yanzuoguang.mq.vo.req.MessageLogRemoveReqVo
;
import
com.yanzuoguang.mq.vo.req.MessageLogReqVo
;
import
com.yanzuoguang.mq.vo.req.MessageLogReqVo
;
import
com.yanzuoguang.util.YzgError
;
import
com.yanzuoguang.util.YzgError
;
import
com.yanzuoguang.util.exception.CodeException
;
import
com.yanzuoguang.util.helper.JsonHelper
;
import
com.yanzuoguang.util.helper.JsonHelper
;
import
com.yanzuoguang.util.helper.StringHelper
;
import
com.yanzuoguang.util.helper.StringHelper
;
import
org.springframework.amqp.core.Message
;
import
org.springframework.amqp.core.Message
;
...
@@ -92,7 +91,7 @@ public class MessageLogServiceImpl implements MessageLogService {
...
@@ -92,7 +91,7 @@ public class MessageLogServiceImpl implements MessageLogService {
MessageLogRemoveReqVo
loadReq
=
new
MessageLogRemoveReqVo
(
req
.
getQueue
(),
req
.
getMessageId
());
MessageLogRemoveReqVo
loadReq
=
new
MessageLogRemoveReqVo
(
req
.
getQueue
(),
req
.
getMessageId
());
MessageLogVo
load
=
messageLogDao
.
load
(
loadReq
,
MessageLogVo
.
class
);
MessageLogVo
load
=
messageLogDao
.
load
(
loadReq
,
MessageLogVo
.
class
);
if
(
load
!=
null
)
{
if
(
load
!=
null
)
{
throw
YzgError
.
get
Runtime
Exception
(
"081"
,
req
.
getQueue
(),
req
.
getMessageId
());
throw
YzgError
.
getException
(
"081"
,
req
.
getQueue
(),
req
.
getMessageId
());
}
}
load
=
JsonHelper
.
to
(
req
,
MessageLogVo
.
class
);
load
=
JsonHelper
.
to
(
req
,
MessageLogVo
.
class
);
messageLogDao
.
create
(
load
);
messageLogDao
.
create
(
load
);
...
...
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