java110
2021-01-03 7b9ee959811a3121a31a5f2f2e6376c8cca3397d
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
package com.java110.front.components.ownerRepair;
 
import com.java110.core.context.IPageData;
import com.java110.front.smo.ownerRepair.IListOwnerRepairsSMO;
import com.java110.front.smo.ownerRepair.ICloseRepairDispatchSMO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;
 
/**
 * @ClassName MyRepairDispatchComponent
 * @Description TODO
 * @Author wuxw
 * @Date 2019/10/20 18:21
 * @Version 1.0
 * add by wuxw 2019/10/20
 **/
@Component("myRepairDispatch")
public class MyRepairDispatchComponent {
 
 
    @Autowired
    private IListOwnerRepairsSMO listOwnerRepairsSMOImpl;
 
    @Autowired
    private ICloseRepairDispatchSMO closeRepairDispatchSMOImpl;
 
    /**
     * 查询业主报修列表
     * @param pd 页面数据封装
     * @return 返回 ResponseEntity 对象
     */
    public ResponseEntity<String> list(IPageData pd){
        return listOwnerRepairsSMOImpl.listOwnerRepairs(pd);
    }
 
    /**
     * 结单处理
     * @param pd 页面数据封装
     * @return 返回 ResponseEntity 对象
     */
    public ResponseEntity<String> closeOrder(IPageData pd){
        return closeRepairDispatchSMOImpl.close(pd);
    }
 
 
    public IListOwnerRepairsSMO getListOwnerRepairsSMOImpl() {
        return listOwnerRepairsSMOImpl;
    }
 
    public void setListOwnerRepairsSMOImpl(IListOwnerRepairsSMO listOwnerRepairsSMOImpl) {
        this.listOwnerRepairsSMOImpl = listOwnerRepairsSMOImpl;
    }
 
 
    public ICloseRepairDispatchSMO getCloseRepairDispatchSMOImpl() {
        return closeRepairDispatchSMOImpl;
    }
 
    public void setCloseRepairDispatchSMOImpl(ICloseRepairDispatchSMO closeRepairDispatchSMOImpl) {
        this.closeRepairDispatchSMOImpl = closeRepairDispatchSMOImpl;
    }
}