mirror of
https://github.com/Hello-hao/Tbed.git
synced 2024-04-21 12:32:10 +00:00
24 lines
563 B
Java
24 lines
563 B
Java
package cn.hellohao.service.impl;
|
|
|
|
import cn.hellohao.dao.DomainMapper;
|
|
import cn.hellohao.pojo.Domain;
|
|
import cn.hellohao.service.DomainService;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
/**
|
|
* @author Hellohao
|
|
* @version 1.0
|
|
* @date 2019/8/21 9:51
|
|
*/
|
|
@Service
|
|
public class DomainServiceImpl implements DomainService {
|
|
@Autowired
|
|
private DomainMapper domainMapper;
|
|
|
|
@Override
|
|
public Integer getDomain(String domain) {
|
|
return domainMapper.getDomain(domain);
|
|
}
|
|
}
|