|
|
@@ -0,0 +1,35 @@
|
|
|
+package com.java110.web.components.inspectionPlan;
|
|
|
+
|
|
|
+import com.java110.core.context.IPageData;
|
|
|
+import com.java110.web.smo.inspectionPlan.IDeleteInspectionPlanSMO;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.http.ResponseEntity;
|
|
|
+import org.springframework.stereotype.Component;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 添加巡检计划组件
|
|
|
+ */
|
|
|
+@Component("deleteInspectionPlan")
|
|
|
+public class DeleteInspectionPlanComponent {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private IDeleteInspectionPlanSMO deleteInspectionPlanSMOImpl;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 添加巡检计划数据
|
|
|
+ *
|
|
|
+ * @param pd 页面数据封装
|
|
|
+ * @return ResponseEntity 对象
|
|
|
+ */
|
|
|
+ public ResponseEntity<String> delete(IPageData pd) {
|
|
|
+ return deleteInspectionPlanSMOImpl.deleteInspectionPlan(pd);
|
|
|
+ }
|
|
|
+
|
|
|
+ public IDeleteInspectionPlanSMO getDeleteInspectionPlanSMOImpl() {
|
|
|
+ return deleteInspectionPlanSMOImpl;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setDeleteInspectionPlanSMOImpl(IDeleteInspectionPlanSMO deleteInspectionPlanSMOImpl) {
|
|
|
+ this.deleteInspectionPlanSMOImpl = deleteInspectionPlanSMOImpl;
|
|
|
+ }
|
|
|
+}
|