Ver Fonte

修改分组发送获取结果

xueyiming há 1 semana atrás
pai
commit
572b13520a

+ 2 - 2
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/CoreServiceImpl.java

@@ -1000,10 +1000,10 @@ public class CoreServiceImpl implements CoreService {
                         updateGroupSendResult.setStatus(updateStatus);
                         groupSendResultMapper.updateByExampleSelective(updateGroupSendResult, groupSendResultExample);
                         Set<String> groupKeys = groupSendResults.stream()
-                                .map(e -> e.getGhId() + "_" + e.getPublishDate() + "_" + e.getUserGroupId())
+                                .map(e -> e.getGhId() + "&&" + e.getPublishDate() + "&&" + e.getUserGroupId())
                                 .collect(Collectors.toSet());
                         for (String groupKey : groupKeys) {
-                            String[] groupArray = groupKey.split("_");
+                            String[] groupArray = groupKey.split("&&");
                             String ghId = groupArray[0];
                             String publishDate = groupArray[1];
                             String userGroupId = groupArray[2];