MCPcopy Create free account
hub / github.com/diyhi/bbs / getFirstResult

Method getFirstResult

src/main/java/cms/dto/PageView.java:39–41  ·  view source on GitHub ↗

要获取记录的开始索引

()

Source from the content-addressed store, hash-verified

37 private long pagecount = 10;
38 /** 要获取记录的开始索引 **/
39 public int getFirstResult() {
40 return (this.currentpage-1)*this.maxresult;
41 }
42 /** URI **/
43 public String requestURI;
44 /** URL参数 **/

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected