Commit 6564dfb8 by 刘鑫

pref(---): 添加日志

1 parent e282a8a6
......@@ -10,6 +10,7 @@ import com.dituhui.pea.order.common.EngineerUtils;
import com.dituhui.pea.order.common.SaasUtils;
import com.dituhui.pea.order.common.jackson.DateTimeUtil;
import com.dituhui.pea.order.common.jackson.DateUtil;
import com.dituhui.pea.order.common.jackson.JsonUtil;
import com.dituhui.pea.order.dao.CapacityEngineerStatDao;
import com.dituhui.pea.order.dao.EngineerInfoDao;
import com.dituhui.pea.order.dao.EngineerSkillDao;
......@@ -127,10 +128,13 @@ public class CapacityQueryServiceImpl implements CapacityQueryService {
//分站、网点ID
List<String> teamIdList = mapBlockInBlockIdsList.stream().map(MapBlockInfoEntity::getTeamId).distinct()
.collect(Collectors.toList());
log.info("[matchCapacityData], 坐标:{},匹配到的工作队列表:{}", addressLongLat, JsonUtil.toJson(teamIdList));
List<String> groupList = mapBlockInBlockIdsList.stream().map(MapBlockInfoEntity::getGroupId).distinct()
.collect(Collectors.toList());
log.info("[matchCapacityData], 坐标:{},匹配到的分部列表:{}", addressLongLat, JsonUtil.toJson(groupList));
List<String> branchList = mapBlockInBlockIdsList.stream().map(MapBlockInfoEntity::getBranchId).distinct()
.collect(Collectors.toList());
log.info("[matchCapacityData], 坐标:{},匹配到的大区:{}", addressLongLat, JsonUtil.toJson(branchList));
final String branchId = branchList.get(0);
final String groupId = groupList.get(0);
......@@ -149,7 +153,7 @@ public class CapacityQueryServiceImpl implements CapacityQueryService {
querySkillGroup.add(skillInfo);
}
log.info("[matchCapacityData], 匹配到的技能组信息:{}", JsonUtil.toJson(skillGroupCodes));
Set<EngineerInfoEntity> allFulfillEngineer = new HashSet<>();
for (String teamId : teamIdList) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!