package org.king.modules.ad.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.king.modules.ad.entity.AdDeviceForThird;
import org.king.modules.ad.mapper.ThirdMapper;
import org.king.modules.ad.service.IThirdService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description: TODO
 * @Author: huangcheng
 * @Date: 2021/6/15
 * @Version V1.0
 */
@Service
@DS("multi-datasource1")
public class ThirdServiceImpl implements IThirdService {

    @Resource
    private ThirdMapper thirdMapper;

    @Override
    public List<AdDeviceForThird> queryDeviceInfo() {
        return thirdMapper.queryDeviceInfo();
    }
}
