From aa2c3d4deba76ade0958ff3ced88396e226a4964 Mon Sep 17 00:00:00 2001
From: duhuizhe <271000472@qq.com>
Date: 星期三, 15 五月 2024 19:57:40 +0800
Subject: [PATCH] 项目启动失败问题解决
---
ecosphere/ecosphere-four-payment/src/main/java/com/nuvole/four/service/impl/ActivityShopRecordServiceImpl.java | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/ecosphere/ecosphere-four-payment/src/main/java/com/nuvole/four/service/impl/ActivityShopRecordServiceImpl.java b/ecosphere/ecosphere-four-payment/src/main/java/com/nuvole/four/service/impl/ActivityShopRecordServiceImpl.java
index 853dc50..bccec89 100644
--- a/ecosphere/ecosphere-four-payment/src/main/java/com/nuvole/four/service/impl/ActivityShopRecordServiceImpl.java
+++ b/ecosphere/ecosphere-four-payment/src/main/java/com/nuvole/four/service/impl/ActivityShopRecordServiceImpl.java
@@ -1,7 +1,6 @@
package com.nuvole.four.service.impl;
import com.nuvole.base.domain.SysUser;
-import com.nuvole.four.client.ShopServiceClient;
import com.nuvole.four.contants.Contants;
import com.nuvole.four.domain.ActivityShopRecord;
import com.nuvole.four.domain.dto.ActivityShopRecordDto;
@@ -16,6 +15,7 @@
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
+import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
@@ -31,7 +31,7 @@
public class ActivityShopRecordServiceImpl implements ActivityShopRecordService {
private final ActivityShopRecordMapper activityShopRecordMapper;
- private final ShopServiceClient shopServiceClient;
+// private final ShopServiceClient shopServiceClient;
private final ActivityFeeMapper activityFeeMapper;
@@ -87,7 +87,8 @@
//鍏宠仈shop搴撴煡璇㈠晢鎴枫�佸簵閾虹瓑瀛楁淇℃伅
List<Long> shopIds = dtoList.stream().map(ActivityShopRecord::getMerchantShopId).collect(Collectors.toList());
String ids = shopIds.stream().map(String::valueOf).collect(Collectors.joining(","));
- List<Map> mapList = shopServiceClient.selectShopMsgByIds(ids);
+// List<Map> mapList = shopServiceClient.selectShopMsgByIds(ids);
+ List<Map> mapList = new ArrayList<>();
if(!CollectionUtils.isEmpty(mapList)){
// 灏� mapList 涓殑鏁版嵁鍚堝苟鍒� dtoList 涓�
dtoList.forEach( d -> {
--
Gitblit v1.9.1