package com.cxyxiaomo.epp.user.service;

import com.cxyxiaomo.epp.common.pojo.User;
import com.cxyxiaomo.epp.user.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public User getUserByUsername(String username) {
        return userDao.getUserByUsername(username);
    }
}
