wuxw
2020-02-15 a31deb55464435b01fa45487b354ca2350780868
WebService/src/main/java/com/java110/web/components/org/AddOrgCommunityComponent.java
@@ -7,6 +7,8 @@
import com.java110.web.smo.ICommunityServiceSMO;
import com.java110.web.smo.org.IAddOrgCommunitySMO;
import com.java110.web.smo.org.IAddOrgSMO;
import com.java110.web.smo.org.IListOrgCommunitysSMO;
import com.java110.web.smo.org.IListOrgNoCommunitysSMO;
import com.java110.web.smo.org.IListOrgsSMO;
import com.java110.web.smo.org.IListParentOrgsSMO;
import org.springframework.beans.factory.annotation.Autowired;
@@ -23,7 +25,7 @@
    private IAddOrgCommunitySMO addOrgCommunitySMOImpl;
    @Autowired
    private IListOrgsSMO listOrgsSMOImpl;
    private IListOrgNoCommunitysSMO listOrgNoCommunitysSMOImpl;
    @Autowired
    private IListParentOrgsSMO listParentOrgsSMOImpl;
@@ -40,12 +42,6 @@
        return addOrgCommunitySMOImpl.saveOrgCommunity(pd);
    }
    public ResponseEntity<String> listEnterCommunitys(IPageData pd) {
        return communityServiceSMOImpl.listMyCommunity(pd);
    }
    /**
     * 查询组织管理列表
     *
@@ -53,7 +49,7 @@
     * @return 返回 ResponseEntity 对象
     */
    public ResponseEntity<String> list(IPageData pd) {
        return listOrgsSMOImpl.listOrgs(pd);
        return listOrgNoCommunitysSMOImpl.listOrgNoCommunitys(pd);
    }
@@ -69,13 +65,7 @@
        this.listParentOrgsSMOImpl = listParentOrgsSMOImpl;
    }
    public IListOrgsSMO getListOrgsSMOImpl() {
        return listOrgsSMOImpl;
    }
    public void setListOrgsSMOImpl(IListOrgsSMO listOrgsSMOImpl) {
        this.listOrgsSMOImpl = listOrgsSMOImpl;
    }
    public ICommunityServiceSMO getCommunityServiceSMOImpl() {
        return communityServiceSMOImpl;