|
@@ -161,6 +161,9 @@ public class FilePathSplicingAspect {
|
|
|
// 获取TableDataInfo中的值
|
|
// 获取TableDataInfo中的值
|
|
|
TableDataInfo responseData = (TableDataInfo) obj;
|
|
TableDataInfo responseData = (TableDataInfo) obj;
|
|
|
List rows = responseData.getRows();
|
|
List rows = responseData.getRows();
|
|
|
|
|
+ if (CollectionUtil.isEmpty(rows)) {
|
|
|
|
|
+ return responseData;
|
|
|
|
|
+ }
|
|
|
// 将page中所有records都包装一遍
|
|
// 将page中所有records都包装一遍
|
|
|
for (Object row : rows) {
|
|
for (Object row : rows) {
|
|
|
disposeResponseObject(row);
|
|
disposeResponseObject(row);
|