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
6a9da843
Commit
6a9da843
authored
May 07, 2019
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消除成功接收处理
parent
198cfe64
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
CloudContans.java
...oud/src/main/java/com/yanzuoguang/cloud/CloudContans.java
+2
-1
MessageServiceImpl.java
...a/com/yanzuoguang/mq/service/impl/MessageServiceImpl.java
+2
-1
No files found.
yzg-util-cloud/src/main/java/com/yanzuoguang/cloud/CloudContans.java
View file @
6a9da843
package
com
.
yanzuoguang
.
cloud
;
package
com
.
yanzuoguang
.
cloud
;
/**
/**
*
* Spring服务敞亮
* @author 颜佐光
*/
*/
public
class
CloudContans
{
public
class
CloudContans
{
...
...
yzg-util-mq/src/main/java/com/yanzuoguang/mq/service/impl/MessageServiceImpl.java
View file @
6a9da843
...
@@ -22,6 +22,7 @@ import java.util.List;
...
@@ -22,6 +22,7 @@ import java.util.List;
/**
/**
* 发送消息服务的实现
* 发送消息服务的实现
*
* @author 颜佐光
* @author 颜佐光
*/
*/
@Component
@Component
...
@@ -45,7 +46,7 @@ public class MessageServiceImpl implements MessageService {
...
@@ -45,7 +46,7 @@ public class MessageServiceImpl implements MessageService {
* @return 大小写
* @return 大小写
*/
*/
@Override
@Override
@Transactional
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
List
<
MessageVo
>
updateBatch
(
String
batchId
,
int
size
)
{
public
List
<
MessageVo
>
updateBatch
(
String
batchId
,
int
size
)
{
int
updateSize
=
messageDao
.
updateBatch
(
batchId
,
size
);
int
updateSize
=
messageDao
.
updateBatch
(
batchId
,
size
);
if
(
updateSize
==
0
)
{
if
(
updateSize
==
0
)
{
...
...
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