| | |
| | | import com.linghu.model.entity.Platform; |
| | | import com.linghu.service.PlatformService; |
| | | import com.linghu.mapper.PlatformMapper; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * @author xy |
| | |
| | | @Service |
| | | public class PlatformServiceImpl extends ServiceImpl<PlatformMapper, Platform> |
| | | implements PlatformService { |
| | | @Resource |
| | | private PlatformMapper platformMapper; |
| | | @Override |
| | | public Platform getPlatformByDomain(String domain) { |
| | | return platformMapper.getPlatformByDomain(domain); |
| | | |
| | | } |
| | | } |