eyesmoons commented on issue #15797:
URL: 
https://github.com/apache/dolphinscheduler/issues/15797#issuecomment-2060168440

   The PageInfo class is missing getter methods. Adding a getTotalPage method 
should suffice. You can refer to the previous version for guidance. just like 
this:
   ```java
   public Integer getTotalPage() {
           if (pageSize == null || pageSize == 0) {
               pageSize = 7;
           }
           if (this.total % this.pageSize == 0) {
               return (this.total / this.pageSize) == 0 ? 1 : (this.total / 
this.pageSize);
           }
           return (this.total / this.pageSize + 1);
       }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to