Commit 2b3ee035 by 徐高华

log

parent 97b2b5bf
......@@ -263,6 +263,10 @@ public class GroupChatServiceImpl implements GroupChatService {
Date endTime = new Date();
Date startTime = DateUtil.addNumForMinute(endTime, -30);
List<TabChatNotice> list = this.chatNoticeMapper.listAll(typeList, startTime, endTime);
logger.info("开始群通知定时,count={}", list.size());
if (CollectionUtils.isEmpty(list)) {
return;
}
this.chatNoticeMapper.closeAll(typeList, startTime, endTime);
for (TabChatNotice item : list) {
try {
......@@ -875,6 +879,10 @@ public class GroupChatServiceImpl implements GroupChatService {
Date endTime = new Date();
Date startTime = DateUtil.addNumForMinute(endTime, -30);
List<TabChatNotice> list = this.chatNoticeMapper.listAll(typeList, startTime, endTime);
logger.info("开始群加满处理活码定时,count={}", list.size());
if (CollectionUtils.isEmpty(list)) {
return;
}
this.chatNoticeMapper.closeAll(typeList, startTime, endTime);
for (TabChatNotice item : list) {
String wxEnterpriseId = item.getWxEnterpriseId();
......
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