Browse Source

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

lvxianyun 3 years ago
parent
commit
4c2999dcbb

+ 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;