|  |  | 
 |  |  |     @JSONField(serialize = false) | 
 |  |  |     public Integer queryCount ; | 
 |  |  |  | 
 |  |  |     public void copyTo(QueryResultVo to){ | 
 |  |  |         to.pageSize = this.pageSize ; | 
 |  |  |         to.itemTotal = this.itemTotal  ; | 
 |  |  |         to.pageCurr = this.pageCurr  ; | 
 |  |  |         to.pageTotal = this.pageTotal  ; | 
 |  |  |         to.obj = this.obj ; | 
 |  |  |         to.queryStart = this.queryStart  ; | 
 |  |  |         to.queryCount = this.queryCount  ; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     public void calculateAndSet(Long itemTotal, Map<String, Object> params) { | 
 |  |  |         this.itemTotal = itemTotal ; | 
 |  |  | 
 |  |  |         this.queryStart = (this.pageCurr - 1) * this.pageSize ; | 
 |  |  |         this.queryCount = this.pageSize ; | 
 |  |  |  | 
 |  |  |         params.put("start", this.queryStart) ; | 
 |  |  |         params.put("count", this.queryCount) ; | 
 |  |  |         if(params != null){ | 
 |  |  |             params.put("start", this.queryStart) ; | 
 |  |  |             params.put("count", this.queryCount) ; | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } |