|
@@ -106,7 +106,7 @@ public class WeComHistoryDataJob {
|
|
|
selectGroupMsgList(startTime, endTime, corp.getId(), null);
|
|
|
}
|
|
|
for (Corp corp : corps) {
|
|
|
- long notSentCount = newSelectAlertHistoryMessage(startTime, endTime, corp.getId(), corp.getName());
|
|
|
+ long notSentCount = newSelectAlertHistoryMessage(startTime, endTime + TimeConstant.HOUR, corp.getId(), corp.getName());
|
|
|
if (notSentCount == 0) {
|
|
|
redisTemplate.opsForValue().set(START_TIME_KEY, endTime, 1, TimeUnit.DAYS);
|
|
|
}
|