leniu-java-total-line
Installation
SKILL.md
leniu-tengyun-core 合计行(Total Line)规范
项目特征
| 特征 | 说明 |
|---|---|
| 包名前缀 | net.xnzn.core.* |
| JDK 版本 | 21 |
| 双库切换 | 默认商户库,Executors.doInSystem() 切换系统库 |
| 分页工具 | PageMethod.startPage() |
| 结果封装 | ReportBaseTotalVO<T> |
| 分页封装 | PageVO.of() |
核心原则
合计行SQL只返回需要合计的数值字段,不返回非数值字段(如日期、名称、ID等)。