|
|
|
@ -166,6 +166,14 @@ public class StoreService {
|
|
|
|
|
.fetchCount();
|
|
|
|
|
|
|
|
|
|
storeList.forEach(store -> {
|
|
|
|
|
|
|
|
|
|
String contact = store.getContact();
|
|
|
|
|
if (StringUtils.isNotBlank(contact)) {
|
|
|
|
|
UserInfo byId = userInfoService.findById(contact);
|
|
|
|
|
store.setContactNickName(byId == null ? "" : byId.getNickName());
|
|
|
|
|
store.setContactAvatar(byId == null ? "" : byId.getAvatar());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (store.getRegionId() != null) {
|
|
|
|
|
Region regionById = regionService.getRegionById(store.getRegionId());
|
|
|
|
|
store.setRegion(regionById);
|
|
|
|
|