wuxw
2019-12-22 ee9e18ace27138553d90c1f3e003cf721e48d9e9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package com.java110.web.components.initData;
 
 
import com.java110.core.context.IPageData;
import com.java110.web.smo.INavServiceSMO;
import com.java110.web.smo.community.IListMyEnteredCommunitysSMO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;
 
@Component("initData")
public class InitDataComponent {
 
    @Autowired
    private IListMyEnteredCommunitysSMO listMyEnteredCommunitysSMOImpl;
 
    /**
     * 查询已经入住的小区
     *
     * @param pd 页面封装对象
     * @return 小区信息 [{community:"123123",name:"测试1小区"},{community:"223123",name:"测试2小区"}]
     */
    public ResponseEntity<String> getCommunitys(IPageData pd) {
        ResponseEntity<String> responseEntity = null;
        responseEntity = listMyEnteredCommunitysSMOImpl.myCommunitys(pd);
 
        return responseEntity;
    }
 
    public IListMyEnteredCommunitysSMO getListMyEnteredCommunitysSMOImpl() {
        return listMyEnteredCommunitysSMOImpl;
    }
 
    public void setListMyEnteredCommunitysSMOImpl(IListMyEnteredCommunitysSMO listMyEnteredCommunitysSMOImpl) {
        this.listMyEnteredCommunitysSMOImpl = listMyEnteredCommunitysSMOImpl;
    }
 
}