chore: 工作区反编译与 Maven/文档/脚本同步到发布分支

- artifacts/decompiled 树与相关源码变更
- maven-cw-elevator-application 业务 docs 与 package-info
- scripts 下 formatter 校验与辅助脚本
- 其他子工程/接口与发布线一并纳入版本控制

Made-with: Cursor

Former-commit-id: e102e8cab64e575bcd23c9a66a598aa1892bb492
This commit is contained in:
反编译工作区
2026-04-25 09:35:35 +08:00
parent 1c28fcedfc
commit dee355b4a7
2000 changed files with 133077 additions and 169300 deletions
@@ -2,46 +2,28 @@ package cn.cloudwalk.cloud.page;
import cn.cloudwalk.cloud.entity.CloudwalkBasePeriod;
public class CloudwalkBasePageForm extends CloudwalkBasePeriod {
private static final long serialVersionUID = -4212911809130413023L;
private int rowsOfPage = 10;
private int currentPage = 1;
public int getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(int currentPage) {
if (currentPage >= 1) {
this.currentPage = currentPage;
}
}
public int getRowsOfPage() {
return this.rowsOfPage;
}
public class CloudwalkBasePageForm
extends CloudwalkBasePeriod
{
private static final long serialVersionUID = -4212911809130413023L;
private int rowsOfPage = 10;
private int currentPage = 1;
public int getCurrentPage() {
return this.currentPage;
public void setRowsOfPage(int rowsOfPage) {
if (rowsOfPage >= 1)
this.rowsOfPage = rowsOfPage;
}
}
public void setCurrentPage(int currentPage) {
if (currentPage >= 1) {
this.currentPage = currentPage;
}
}
public int getRowsOfPage() {
return this.rowsOfPage;
}
public void setRowsOfPage(int rowsOfPage) {
if (rowsOfPage >= 1)
this.rowsOfPage = rowsOfPage;
}
}
@@ -3,129 +3,76 @@ package cn.cloudwalk.cloud.page;
import java.io.Serializable;
import java.util.Collection;
public class CloudwalkPageAble<T> implements Serializable {
private static final long serialVersionUID = -3628865867907230918L;
private long pageSize;
private long currentPage;
private long totalPages;
private long totalRows;
private long minRowNumber;
private long maxRowNumber;
private Collection<T> datas;
public CloudwalkPageAble() {
}
public CloudwalkPageAble(Collection<T> list, CloudwalkPageInfo page, long totalCount) {
if (totalCount < 0L || page == null || page.getPageSize() <= 0 || page.getCurrentPage() < 0) {
throw new IllegalArgumentException("totalCount must more than 0");
}
this.datas = list;
this.totalRows = totalCount;
this.pageSize = page.getPageSize();
this.currentPage = page.getCurrentPage();
if (totalCount == 0L) {
this.totalPages = 0L;
} else if (totalCount % page.getPageSize() > 0L) {
this.totalPages = totalCount / page.getPageSize() + 1L;
} else {
this.totalPages = totalCount / page.getPageSize();
}
if (this.totalRows == 0L) {
this.minRowNumber = 0L;
} else {
this.minRowNumber = (this.currentPage - 1L) * page.getPageSize() + 1L;
}
if (this.currentPage * page.getPageSize() > this.totalRows) {
this.maxRowNumber = this.totalRows;
} else {
this.maxRowNumber = this.currentPage * page.getPageSize();
}
}
public long getCurrentPage() {
return this.currentPage;
}
public long getTotalPages() {
return this.totalPages;
}
public long getTotalRows() {
return this.totalRows;
}
public Collection<T> getDatas() {
return this.datas;
}
public long getMinRowNumber() {
return this.minRowNumber;
}
public long getMaxRowNumber() {
return this.maxRowNumber;
}
public class CloudwalkPageAble<T>
implements Serializable
{
private static final long serialVersionUID = -3628865867907230918L;
private long pageSize;
private long currentPage;
private long totalPages;
private long totalRows;
private long minRowNumber;
private long maxRowNumber;
private Collection<T> datas;
public CloudwalkPageAble() {}
public CloudwalkPageAble(Collection<T> list, CloudwalkPageInfo page, long totalCount) {
/* 67 */ if (totalCount < 0L || page == null || page.getPageSize() <= 0 || page.getCurrentPage() < 0) {
/* 68 */ throw new IllegalArgumentException("totalCount must more than 0");
public long getPageSize() {
return this.pageSize;
}
}
/* 71 */ this.datas = list;
/* 72 */ this.totalRows = totalCount;
/* 74 */ this.pageSize = page.getPageSize();
/* 75 */ this.currentPage = page.getCurrentPage();
/* 77 */ if (totalCount == 0L) {
/* 78 */ this.totalPages = 0L;
}
/* 80 */ else if (totalCount % page.getPageSize() > 0L) {
/* 81 */ this.totalPages = totalCount / page.getPageSize() + 1L;
} else {
/* 83 */ this.totalPages = totalCount / page.getPageSize();
}
/* 88 */ if (this.totalRows == 0L) {
/* 89 */ this.minRowNumber = 0L;
} else {
/* 91 */ this.minRowNumber = (this.currentPage - 1L) * page.getPageSize() + 1L;
}
/* 95 */ if (this.currentPage * page.getPageSize() > this.totalRows) {
/* 96 */ this.maxRowNumber = this.totalRows;
} else {
/* 98 */ this.maxRowNumber = this.currentPage * page.getPageSize();
}
}
public long getCurrentPage() {
return this.currentPage;
}
public long getTotalPages() {
return this.totalPages;
}
public long getTotalRows() {
return this.totalRows;
}
public Collection<T> getDatas() {
return this.datas;
}
public long getMinRowNumber() {
return this.minRowNumber;
}
public long getMaxRowNumber() {
return this.maxRowNumber;
}
public long getPageSize() {
return this.pageSize;
}
}
@@ -2,61 +2,36 @@ package cn.cloudwalk.cloud.page;
import java.io.Serializable;
public class CloudwalkPageDTO<T> implements Serializable {
private static final long serialVersionUID = -1351931333484421041L;
private CloudwalkPageInfo page;
private T dto;
public CloudwalkPageDTO() {
}
public CloudwalkPageDTO(CloudwalkPageInfo page, T dto) {
this.page = page;
this.dto = dto;
}
public CloudwalkPageInfo getPage() {
return this.page;
}
public void setPage(CloudwalkPageInfo page) {
this.page = page;
}
public T getDto() {
return this.dto;
}
public void setDto(T dto) {
this.dto = dto;
}
public class CloudwalkPageDTO<T>
implements Serializable
{
private static final long serialVersionUID = -1351931333484421041L;
private CloudwalkPageInfo page;
private T dto;
public CloudwalkPageDTO() {}
public CloudwalkPageDTO(CloudwalkPageInfo page, T dto) {
this.page = page;
this.dto = dto;
public String toString() {
return "CloudwalkPageDTO [page=" + this.page + ", dto=" + this.dto + "]";
}
}
public CloudwalkPageInfo getPage() {
return this.page;
}
public void setPage(CloudwalkPageInfo page) {
this.page = page;
}
public T getDto() {
return this.dto;
}
public void setDto(T dto) {
this.dto = dto;
}
public String toString() {
return "CloudwalkPageDTO [page=" + this.page + ", dto=" + this.dto + "]";
}
}
@@ -2,75 +2,38 @@ package cn.cloudwalk.cloud.page;
import java.io.Serializable;
public class CloudwalkPageInfo implements Serializable {
private static final long serialVersionUID = -9065614200385450712L;
private int pageSize;
private int currentPage;
public CloudwalkPageInfo(int currentPage, int pageSize) {
if (currentPage < 1 || pageSize < 1) {
throw new IllegalArgumentException("currentPage and pageSize must more than 0.");
}
this.currentPage = currentPage;
this.pageSize = pageSize;
}
public CloudwalkPageInfo() {
this.currentPage = 1;
this.pageSize = 20;
}
public int getPageStart() {
if (this.currentPage < 1) {
this.currentPage = 1;
}
return (this.currentPage - 1) * this.pageSize;
}
public int getPageSize() {
return this.pageSize;
}
public class CloudwalkPageInfo
implements Serializable
{
private static final long serialVersionUID = -9065614200385450712L;
private int pageSize;
private int currentPage;
public CloudwalkPageInfo(int currentPage, int pageSize) {
if (currentPage < 1 || pageSize < 1) {
throw new IllegalArgumentException("currentPage and pageSize must more than 0.");
public int getCurrentPage() {
return this.currentPage;
}
}
this.currentPage = currentPage;
this.pageSize = pageSize;
}
public CloudwalkPageInfo() {
this.currentPage = 1;
this.pageSize = 20;
}
public int getPageStart() {
if (this.currentPage < 1) {
this.currentPage = 1;
}
return (this.currentPage - 1) * this.pageSize;
}
public int getPageSize() {
return this.pageSize;
}
public int getCurrentPage() {
return this.currentPage;
}
}