😱
Amazing development efficiency
Tiansheng supports joint tables, free of DTO/VO conversion, and a line of code can easily achieve advanced queries, greatly improving research and development efficiency.
Enable "advanced" queries for your application with one line of code!
@RestController
@RequestMapping("/user")
public class UserController {
@Autowired
private BeanSearcher beanSearcher; // Inject the Searcher
@GetMapping("/index")
public SearchResult<User> index() {
// Only one line of code, including paging, combination filtering, arbitrary field sorting, and even statistics, multi-table joint search complex search functions
return beanSearcher.search(User.class);
}
}