首页>代码>springboot2+mybatis+EasyExcel实现从mysql数据库在线导出excel文件>/springboot2.x_ssm/src/main/java/com/springboot/ssm/service/impl/UserServiceImpl.java
package com.springboot.ssm.service.impl; import com.springboot.ssm.domain.User; import com.springboot.ssm.mapper.UserMapper; import com.springboot.ssm.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service public class UserServiceImpl implements UserService { @Autowired private UserMapper userMapper; @Override public List<User> getAll() { return userMapper.getAll(); } }