|
|
@ -166,6 +166,14 @@ public class StoreService {
|
|
|
|
.fetchCount();
|
|
|
|
.fetchCount();
|
|
|
|
|
|
|
|
|
|
|
|
storeList.forEach(store -> {
|
|
|
|
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) {
|
|
|
|
if (store.getRegionId() != null) {
|
|
|
|
Region regionById = regionService.getRegionById(store.getRegionId());
|
|
|
|
Region regionById = regionService.getRegionById(store.getRegionId());
|
|
|
|
store.setRegion(regionById);
|
|
|
|
store.setRegion(regionById);
|
|
|
|