From 4ceda0fd6f4aeba1b41e862f3b53f778b3c2f388 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期三, 18 九月 2019 19:09:10 +0800
Subject: [PATCH] 加入 小区审核功能

---
 WebService/src/main/java/com/java110/web/components/community/AuditCommunityManageComponent.java |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/WebService/src/main/java/com/java110/web/components/community/AuditCommunityManageComponent.java b/WebService/src/main/java/com/java110/web/components/community/AuditCommunityManageComponent.java
index 928d2d3..770c931 100644
--- a/WebService/src/main/java/com/java110/web/components/community/AuditCommunityManageComponent.java
+++ b/WebService/src/main/java/com/java110/web/components/community/AuditCommunityManageComponent.java
@@ -5,6 +5,7 @@
 import com.java110.common.constant.CommunityStateConstant;
 import com.java110.core.context.IPageData;
 import com.java110.core.context.PageData;
+import com.java110.web.smo.community.IAuditCommunitySMO;
 import com.java110.web.smo.community.IListCommunitysSMO;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.http.ResponseEntity;
@@ -24,6 +25,9 @@
     @Autowired
     private IListCommunitysSMO listCommunitysSMOImpl;
 
+    @Autowired
+    private IAuditCommunitySMO auditCommunitySMOImpl;
+
     /**
      * 鏌ヨ灏忓尯鍒楄〃
      *
@@ -41,6 +45,16 @@
         return listCommunitysSMOImpl.listCommunitys(newPd);
     }
 
+    /**
+     * 瀹℃牳 灏忓尯
+     *
+     * @param pd 椤甸潰鏁版嵁灏佽
+     * @return 杩斿洖 ResponseEntity 瀵硅薄
+     */
+    public ResponseEntity<String> audit(IPageData pd) {
+        return auditCommunitySMOImpl.auditCommunity(pd);
+    }
+
     public IListCommunitysSMO getListCommunitysSMOImpl() {
         return listCommunitysSMOImpl;
     }
@@ -48,4 +62,12 @@
     public void setListCommunitysSMOImpl(IListCommunitysSMO listCommunitysSMOImpl) {
         this.listCommunitysSMOImpl = listCommunitysSMOImpl;
     }
+
+    public IAuditCommunitySMO getAuditCommunitySMOImpl() {
+        return auditCommunitySMOImpl;
+    }
+
+    public void setAuditCommunitySMOImpl(IAuditCommunitySMO auditCommunitySMOImpl) {
+        this.auditCommunitySMOImpl = auditCommunitySMOImpl;
+    }
 }

--
Gitblit v1.8.0