企微语料ai解析开发

This commit is contained in:
zren25
2025-03-11 11:32:38 +08:00
parent 3e8a7f8e5a
commit c74f26798f
8 changed files with 227 additions and 78 deletions

View File

@@ -0,0 +1,22 @@
package com.volvo.ai.analytic.center.dto;
/**
* @ClassName PageDto
* @Description
* @Author renzhen
* @Date 2025-03-11 10:37
* @Version 1.0
**/
import lombok.Data;
import org.springframework.cloud.context.config.annotation.RefreshScope;
@Data
public class PageDto {
// 每页大小
private static int currentPage = 1; // 当前页码
public static int getTotalPages(int totalCount,int pageSize) {
return (int) Math.ceil((double) totalCount / pageSize);
}
}