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

Method setTotalrecord

src/main/java/cms/dto/PageView.java:119–122  ·  view source on GitHub ↗
(long totalrecord)

Source from the content-addressed store, hash-verified

117 return totalrecord;
118 }
119 public void setTotalrecord(long totalrecord) {
120 this.totalrecord = totalrecord;
121 setTotalpage( this.totalrecord%this.maxresult==0? this.totalrecord/this.maxresult : this.totalrecord/this.maxresult+1);
122 }
123 public long getPagecount() {
124 return pagecount;
125 }

Callers 15

setQueryResultMethod · 0.95
findIndexByConditionMethod · 0.80
findIndexByConditionMethod · 0.80
searchUsetMethod · 0.80
findIndexByConditionMethod · 0.80
getSearchMethod · 0.80
getSearchMethod · 0.80
findStaffLoginLogPageMethod · 0.80
modulePageMethod · 0.80
findUserByConditionMethod · 0.80

Calls 1

setTotalpageMethod · 0.95

Tested by

no test coverage detected