|
@@ -1,7 +1,9 @@
|
|
|
package com.java110.web.components.owner;
|
|
package com.java110.web.components.owner;
|
|
|
|
|
|
|
|
import com.java110.core.context.IPageData;
|
|
import com.java110.core.context.IPageData;
|
|
|
|
|
+import com.java110.web.smo.IFeeServiceSMO;
|
|
|
import com.java110.web.smo.IOwnerServiceSMO;
|
|
import com.java110.web.smo.IOwnerServiceSMO;
|
|
|
|
|
+import com.java110.web.smo.IRoomServiceSMO;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.http.ResponseEntity;
|
|
import org.springframework.http.ResponseEntity;
|
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
@@ -15,6 +17,9 @@ public class ListOwnerComponent {
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private IOwnerServiceSMO ownerServiceSMOImpl;
|
|
private IOwnerServiceSMO ownerServiceSMOImpl;
|
|
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private IRoomServiceSMO roomServiceSMOImpl;
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 查询小区楼信息
|
|
* 查询小区楼信息
|
|
|
*
|
|
*
|
|
@@ -26,6 +31,10 @@ public class ListOwnerComponent {
|
|
|
return ownerServiceSMOImpl.listOwner(pd);
|
|
return ownerServiceSMOImpl.listOwner(pd);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ public ResponseEntity<String> getRooms(IPageData pd){
|
|
|
|
|
+ return roomServiceSMOImpl.listRoomByOwner(pd);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
|
|
|
public IOwnerServiceSMO getOwnerServiceSMOImpl() {
|
|
public IOwnerServiceSMO getOwnerServiceSMOImpl() {
|
|
|
return ownerServiceSMOImpl;
|
|
return ownerServiceSMOImpl;
|
|
@@ -34,4 +43,12 @@ public class ListOwnerComponent {
|
|
|
public void setOwnerServiceSMOImpl(IOwnerServiceSMO ownerServiceSMOImpl) {
|
|
public void setOwnerServiceSMOImpl(IOwnerServiceSMO ownerServiceSMOImpl) {
|
|
|
this.ownerServiceSMOImpl = ownerServiceSMOImpl;
|
|
this.ownerServiceSMOImpl = ownerServiceSMOImpl;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ public IRoomServiceSMO getRoomServiceSMOImpl() {
|
|
|
|
|
+ return roomServiceSMOImpl;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setRoomServiceSMOImpl(IRoomServiceSMO roomServiceSMOImpl) {
|
|
|
|
|
+ this.roomServiceSMOImpl = roomServiceSMOImpl;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|