java110
2021-09-15 79f476af396cf497ebac4c43378def1e4e774a49
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
39
40
41
42
43
package com.java110.api.components.unit;
 
import com.java110.core.context.IPageData;
import com.java110.api.smo.IUnitServiceSMO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;
 
/**
 * @ClassName UnitComponent
 * @Description TODO 小区单元组件java处理类
 * @Author wuxw
 * @Date 2019/5/2 19:25
 * @Version 1.0
 * add by wuxw 2019/5/2
 **/
@Component("unit")
public class UnitComponent {
 
 
    @Autowired
    private IUnitServiceSMO unitServiceSMOImpl;
 
    /**
     * 加载小区单元
     *
     * @param pd 页面数据封装类
     * @return ResponseEntity 对象
     */
    public ResponseEntity<String> loadUnits(IPageData pd) {
 
        return unitServiceSMOImpl.listUnits(pd);
 
    }
 
    public IUnitServiceSMO getUnitServiceSMOImpl() {
        return unitServiceSMOImpl;
    }
 
    public void setUnitServiceSMOImpl(IUnitServiceSMO unitServiceSMOImpl) {
        this.unitServiceSMOImpl = unitServiceSMOImpl;
    }
}