package com.example.demo.service.impl;

import com.example.demo.dao.ScUserMapper;
import com.example.demo.model.ScUser;
import com.example.demo.service.ScUserServiceI;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author FXF
 * @date 2018-09-19
 */
@Service("scUserService")
public class ScUserServiceImpl implements ScUserServiceI {
	
	@Autowired
	private ScUserMapper scUserMapper;
	
	@Override
	public List<ScUser> getUser() {
		return scUserMapper.find();
	}
}
