|
|
|
@@ -1142,7 +1142,11 @@ public class WxMerchantServiceImpl implements WxMerchantService { |
|
|
|
|
|
|
|
@Override |
|
|
|
public Map<String, Object> findMerchantByShop(Long shopId) { |
|
|
|
return wxMerchantMapper.findMerchantByShop(shopId); |
|
|
|
List<Map<String, Object>> merchantByShop = wxMerchantMapper.findMerchantByShop(shopId); |
|
|
|
if(merchantByShop != null && merchantByShop.size() > 0){ |
|
|
|
return merchantByShop.get(0); |
|
|
|
} |
|
|
|
return null; |
|
|
|
} |
|
|
|
|
|
|
|
} |