fix:报告编制细节修复
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user