部分控件不需要返回response,自动默认带搜索和分页查询界面控件。
/** * 序列号 **/ private static final long serialVersionUID = 1L; /** * 页码 **/ @ApiField(name = "页码", notes = "页码", inputType = InputType.InputText, allowTypes = {ApiField.AllowType.WebHidden}, accessMode = AccessMode.WebHidden, position = 1) @ApiModelProperty(value = "页码", required = true) private Integer pageIndex; /** * 每页条数 **/ @ApiField(name = "每页条数", notes = "每页条数", inputType = InputType.InputText, allowTypes = {ApiField.AllowType.WebHidden}, accessMode = AccessMode.WebHidden, position = 2) @ApiModelProperty(value = "每页条数", required = true) private Integer pageSize; /** * 关键字 **/ @ApiField(notes = "请输入供应商名称", width = "300px", inputType = InputType.InputSearch, allowTypes = {ApiField.AllowType.WebReadWrite}, accessMode = ApiField.AccessMode.WebReadWrite, position = 3) @ApiModelProperty(value = "searchKey") private String searchKey; /** * 获取 页码 * * @return pageIndex 页码 */ public Integer getPageIndex() { return this.pageIndex; } /** * 设置 页码 * * @param pageIndex 页码 */ public void setPageIndex(Integer pageIndex) { this.pageIndex = pageIndex; } /** * 获取 每页条数 * * @return pageSize 每页条数 */ public Integer getPageSize() { return this.pageSize; } /** * 设置 每页条数 * * @param pageSize 每页条数 */ public void setPageSize(Integer pageSize) { this.pageSize = pageSize; } /** * 获取 关键字 * * @return searchKey 关键字 */ public String getSearchKey() { return this.searchKey; } /** * 设置 关键字 * * @param searchKey 关键字 */ public void setSearchKey(String searchKey) { this.searchKey = searchKey; }
字节(Byte)是计量单位,表示数据量多少,是计算机信息技术用于计量存储容量的一种计量单位,通常情况下一字节等于八位。字符(Character)计算机中使用的字母、数字、字和符号,比如'A'、'B'、'$'、'&'等。一般在英文...
public class test { public static void main(String[] args) { &...
java一个类可以有多个构造方法,根据传参类型和个数来匹配执行哪个构造方法。public class Member { public Member(){  ...
java限制1个方法同一时间只能被一个线程访问public synchronized void setOrderPay(){ }加上synchronized 修饰符即可...
Java5 引入了一种主要用于数组的增强型 for 循环,类似js中的for inpublic class Member { public static void main(String[]&...
System.out.println("当前时间戳(秒): " + System.currentTimeMillis()/1000); System.out.println("当前时间戳(毫秒): " +&nb...