Commit 0fa0d010 by 徐高华

Merge branch 'feature/获取用户敏感信息' into 'master'

门店

See merge request !916
parents c5e619cd abff8225
......@@ -22,6 +22,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.*;
import java.util.stream.Collector;
import java.util.stream.Collectors;
import static org.slf4j.LoggerFactory.getLogger;
......@@ -272,7 +273,11 @@ public class StoreRangeServiceImpl implements StoreRangeService {
@Override
public List<String> listStoreGroupIdByWxEnterpriseId(String wxEnterpriseId, String enterpriseId) {
return tabHaobanStoreRelationMapper.listStoreGroupIdByWxEnterpriseId(wxEnterpriseId,enterpriseId);
List<TabStoreRange> list = this.tabHaobanStoreRangeMapper.queryByEnterpriseId(wxEnterpriseId,enterpriseId);
if(CollectionUtils.isNotEmpty(list)) {
return list.stream().map(item->item.getRelationId()).collect(Collectors.toList()) ;
}
return null ;
}
@Override
......
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