fix:报告编制细节修复

This commit is contained in:
FCL
2026-01-30 14:09:32 +08:00
parent 2111c8b3ad
commit 4444d9e3c0

View File

@@ -202,6 +202,13 @@ public class ReportDocumentDataServiceImpl implements ReportDocumentDataService
if(!ObjectUtils.isEmpty(maxRowCountStr)) maxRowCount = Integer.parseInt(maxRowCountStr);
int rowLength = rowList.size();
if(rowLength <= maxRowCount){
//以下为空白
if(rowList.size() < maxRowCount){
JSONObject t = new JSONObject();
t.put(colPrefix + "01", emptyText);
putEmptyData(t, 2,10);
rowList.add(t.clone());
}
pageRowList.add(rowList);
return assemblePageResult(mainData, pageRowList, maxRowCount);
}