瀏覽代碼

tip: eq2sp 补充部分轮廓计算 分页处理

lvxianyun 3 年之前
父節點
當前提交
4c2999dcbb
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/main/java/com/persagy/proxy/report/controller/AdmSpaceInfoController.java

+ 3 - 1
src/main/java/com/persagy/proxy/report/controller/AdmSpaceInfoController.java

@@ -244,9 +244,11 @@ public class AdmSpaceInfoController {
 					continue;
 				}
 			}
+			responseEq.setContent(equipmentListNew);
 			if(CollUtil.isNotEmpty(equipmentListNew)){
-				responseEq.setContent(equipmentListNew);
 				responseEq.setTotal(equipmentListNew.size()*1L);
+			}else{
+				responseEq.setTotal(0L);
 			}
 		}
 		return responseEq;