Commit 71ca5cb9 by 徐高华

Merge branch 'feature/xgh/202506迭代' into 'developer'

朋友圈数据

See merge request !3015
parents 820aaec4 da2fa992
...@@ -141,6 +141,7 @@ public class HmLinkServiceImpl implements HmLinkService { ...@@ -141,6 +141,7 @@ public class HmLinkServiceImpl implements HmLinkService {
this.delCache(oldLink.getLinkId(), oldLink.getShortCode()); this.delCache(oldLink.getLinkId(), oldLink.getShortCode());
oldWelcomeId = oldLink.getWelcomeId(); oldWelcomeId = oldLink.getWelcomeId();
TabHmLink entity = EntityUtil.changeEntityByJSON(TabHmLink.class, dto); TabHmLink entity = EntityUtil.changeEntityByJSON(TabHmLink.class, dto);
this.linkMapper.update(entity); this.linkMapper.update(entity);
} }
// 单人活码 // 单人活码
......
...@@ -374,9 +374,12 @@ public class QwMomentDataController { ...@@ -374,9 +374,12 @@ public class QwMomentDataController {
public Map<String, StoreDTO> storeMap(Set<String> storeIdList) { public Map<String, StoreDTO> storeMap(Set<String> storeIdList) {
Map<String, StoreDTO> storeMap = new HashMap<>();
if(CollectionUtils.isEmpty(storeIdList)) {
return storeMap ;
}
List<String> list = new ArrayList<>() ; List<String> list = new ArrayList<>() ;
list.addAll(storeIdList) ; list.addAll(storeIdList) ;
Map<String, StoreDTO> storeMap = new HashMap<>();
if (CollectionUtils.isNotEmpty(storeIdList)) { if (CollectionUtils.isNotEmpty(storeIdList)) {
List<StoreDTO> mainStoreList = storeService.queryStore(list); List<StoreDTO> mainStoreList = storeService.queryStore(list);
if (CollectionUtils.isNotEmpty(mainStoreList)) { if (CollectionUtils.isNotEmpty(mainStoreList)) {
...@@ -388,6 +391,9 @@ public class QwMomentDataController { ...@@ -388,6 +391,9 @@ public class QwMomentDataController {
public Map<String, ClerkDTO> clerkMap(Set<String> clerkIdList) { public Map<String, ClerkDTO> clerkMap(Set<String> clerkIdList) {
Map<String, ClerkDTO> clerkMap = new HashMap<>(); Map<String, ClerkDTO> clerkMap = new HashMap<>();
if(CollectionUtils.isEmpty(clerkIdList)) {
return clerkMap ;
}
List<ClerkDTO> mainClerkList = clerkService.getClerkByClerkIds(clerkIdList); List<ClerkDTO> mainClerkList = clerkService.getClerkByClerkIds(clerkIdList);
if (CollectionUtils.isNotEmpty(mainClerkList)) { if (CollectionUtils.isNotEmpty(mainClerkList)) {
clerkMap = mainClerkList.stream().collect(Collectors.toMap(e -> e.getClerkId(), e -> e)); clerkMap = mainClerkList.stream().collect(Collectors.toMap(e -> e.getClerkId(), e -> e));
......
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