调整流程定义模块的代码

This commit is contained in:
YunaiV
2022-01-01 00:26:33 +08:00
parent ff7b9d9d26
commit a0c7692c3c
12 changed files with 194 additions and 162 deletions

View File

@ -0,0 +1,16 @@
package cn.iocoder.yudao.framework.common.util.object;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
/**
* {@link cn.iocoder.yudao.framework.common.pojo.PageParam} 工具类
*
* @author 芋道源码
*/
public class PageUtils {
public static int getStart(PageParam pageParam) {
return (pageParam.getPageNo() - 1) * pageParam.getPageSize();
}
}