Parcourir la source

fix bug:批量创建业务空间--选“批量将所有的空白空间创建业务空间”点击确定后提示“没有未关联的空间”(实际时有未关联的空间)的问题

lijie il y a 3 ans
Parent
commit
b64a6b57b1

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

@@ -175,7 +175,10 @@ public class AdmSpaceInfoController {
 					iSpaceList.add(iSpace);
 				}
 			}
-			return AdmResponse.success(iSpaceList);
+			AdmResponse admResponse = AdmResponse.success(iSpaceList);
+			admResponse.setFloorId(request.getFloorId());
+			admResponse.setZoneType(objectType);
+			return admResponse;
 		}else{
 			responseIspace.setFloorId(request.getFloorId());
 			responseIspace.setZoneType(objectType);