实现用户管理和作业管理数据读取

This commit is contained in:
F嘉阳
2018-02-09 16:23:43 +08:00
parent c66b0bd9ae
commit 4335a6764e
13 changed files with 254 additions and 264 deletions

View File

@@ -7,6 +7,8 @@ import com.fjy.spring.repository.TbUserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class UserService {
@@ -37,4 +39,8 @@ public class UserService {
}
return false;
}
public List<TbUser> findAllUser(){
return tbUserRepository.findAll();
}
}