wuxw
2020-01-25 1b85a123818ea375e253d842599f484a25632852
WebService/src/main/java/com/java110/web/components/StaffComponent.java
@@ -4,6 +4,8 @@
import com.alibaba.fastjson.JSONObject;
import com.java110.core.context.IPageData;
import com.java110.web.smo.IStaffServiceSMO;
import com.java110.web.smo.org.IListOrgsSMO;
import com.java110.web.smo.org.IListParentOrgsSMO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
@@ -19,6 +21,19 @@
    @Autowired
    IStaffServiceSMO staffServiceSMOImpl;
    @Autowired
    private IListOrgsSMO listOrgsSMOImpl;
    /**
     * 查询组织管理列表
     * @param pd 页面数据封装
     * @return 返回 ResponseEntity 对象
     */
    public ResponseEntity<String> list(IPageData pd){
        return listOrgsSMOImpl.listOrgs(pd);
    }
    public ResponseEntity<String> loadData(IPageData pd){
        ResponseEntity<String> responseEntity = null;
@@ -39,4 +54,12 @@
    public void setStaffServiceSMOImpl(IStaffServiceSMO staffServiceSMOImpl) {
        this.staffServiceSMOImpl = staffServiceSMOImpl;
    }
    public IListOrgsSMO getListOrgsSMOImpl() {
        return listOrgsSMOImpl;
    }
    public void setListOrgsSMOImpl(IListOrgsSMO listOrgsSMOImpl) {
        this.listOrgsSMOImpl = listOrgsSMOImpl;
    }
}