Commit 79a0cc24 by 裴大威

Merge branch 'zyj-keyword' into 'master'

修改时间

See merge request rays/pcloud-book!221
parents b795be4c df521b88
...@@ -725,7 +725,7 @@ public class BookKeywordBizImpl implements BookKeywordBiz { ...@@ -725,7 +725,7 @@ public class BookKeywordBizImpl implements BookKeywordBiz {
List<ReplyKeywordDTO> ImgKeyword = keywordDTOS.stream() List<ReplyKeywordDTO> ImgKeyword = keywordDTOS.stream()
.filter(p -> (ReplyTypeEnum.IMAGE.value.equals(p.getReplyType()) || ReplyTypeEnum.TEXT.value.equals(p.getReplyType()))).collect(Collectors.toList()); .filter(p -> (ReplyTypeEnum.IMAGE.value.equals(p.getReplyType()) || ReplyTypeEnum.TEXT.value.equals(p.getReplyType()))).collect(Collectors.toList());
//不包含图片和文字且18点到9点 则合并关键词详情,其他情况走之前的模式 //不包含图片和文字且18点到9点 则合并关键词详情,其他情况走之前的模式
if (CollectionUtils.isEmpty(ImgKeyword) && !DateUtils.isInBetweenTimes("13:00:00", "18:00:00")) { if (CollectionUtils.isEmpty(ImgKeyword) && !DateUtils.isInBetweenTimes("9:00:00", "18:00:00")) {
sendKeyWordAtPeak(collect, keywordDTOS, classifyQrcodeInfo, sendTextDTO); sendKeyWordAtPeak(collect, keywordDTOS, classifyQrcodeInfo, sendTextDTO);
} else { } else {
// 组装发送关键词 // 组装发送关键词
......
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