Commit 6a9da843 authored by yanzg's avatar yanzg

消除成功接收处理

parent 198cfe64
package com.yanzuoguang.cloud; package com.yanzuoguang.cloud;
/** /**
* * Spring服务敞亮
* @author 颜佐光
*/ */
public class CloudContans { public class CloudContans {
......
...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment