perf:场地日志

This commit is contained in:
Xiang
2026-03-25 10:51:20 +08:00
parent 1634565e92
commit 4f07b22919
3 changed files with 17 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
package com.xiang.app.schedule.jntyzx;
import com.alibaba.fastjson.JSON;
import com.xiang.app.common.service.dingtalk.JtDingTalkFactory;
import com.xiang.app.modules.jntyzx.constants.RedisKeyConstant;
import com.xiang.app.modules.jntyzx.entity.pojo.UserTokenInfoDO;
@@ -57,6 +58,7 @@ public class JtVenueSubscribeTask {
users.parallelStream().forEach(user -> {
try {
List<String> placeNameList = venueInfoMap.keySet().stream().sorted(Comparator.comparing(VenueInfoUtils::sortVenueInfo)).toList();
log.info("场地排序后的集合:{}", JSON.toJSONString(placeNameList));
for (String placeName : placeNameList) {
List<VenueInfoDO> venueInfoDOList = venueInfoMap.get(placeName);
for (int i = 0; i < 10; i++) {