package com.ruoyi.web.modules.delivery.facade.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.web.modules.delivery.facade.IShopDeliveryFacade;
import com.ruoyi.web.modules.delivery.mapper.BizShopDeliverySettingMapper;

@Service
public class ShopDeliveryFacadeImpl implements IShopDeliveryFacade
{
    @Autowired
    private BizShopDeliverySettingMapper deliverySettingMapper;

    @Override
    public String getShipCity(Long shopId)
    {
        if (shopId == null || shopId <= 0)
        {
            return null;
        }
        return deliverySettingMapper.selectCityNameByShopId(shopId);
    }
}
