com.tlgen.orm.controller.SysUserController Maven / Gradle / Ivy
The newest version!
//package com.tlgen.orm.controller;
//
//import com.tlgen.orm.domain.SysUser;
//import com.tlgen.orm.factory.Model;
//import com.tlgen.orm.factory.QueryOperator;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import java.util.List;
//
//@RestController
//@RequestMapping("/user")
//public class SysUserController {
//
// @GetMapping("/select")
// public List select() {
// return Model.select(SysUser.class);
// }
//
// @GetMapping("/selectPage")
// public List selectPage() {
// return Model.selectPage(1, 3, new QueryOperator()
// .like("username", "小"), SysUser.class);
// }
//
//}