实现用户管理和作业管理数据读取
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user