1098226878@qq.com
2022-01-17 7b0e7c62dab0061d2aa167b46f8a838f363f579a
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
package com.java110.api.components.inspectionPoint;
 
import com.java110.core.context.IPageData;
import com.java110.api.smo.inspection.IDeleteInspectionPointSMO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;
 
/**
 * 添加巡检点组件
 */
@Component("deleteInspectionPoint")
public class DeleteInspectionPointComponent {
 
    @Autowired
    private IDeleteInspectionPointSMO deleteInspectionPointSMOImpl;
 
    /**
     * 添加巡检点数据
     *
     * @param pd 页面数据封装
     * @return ResponseEntity 对象
     */
    public ResponseEntity<String> delete(IPageData pd) {
        return deleteInspectionPointSMOImpl.deleteInspectionPoint(pd);
    }
 
    public IDeleteInspectionPointSMO getDeleteInspectionPointSMOImpl() {
        return deleteInspectionPointSMOImpl;
    }
 
    public void setDeleteInspectionPointSMOImpl(IDeleteInspectionPointSMO deleteInspectionPointSMOImpl) {
        this.deleteInspectionPointSMOImpl = deleteInspectionPointSMOImpl;
    }
}