| | |
| | | |
| | | import com.java110.core.context.IPageData; |
| | | import com.java110.web.smo.org.IEditOrgSMO; |
| | | import com.java110.web.smo.org.IListOrgsSMO; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.http.ResponseEntity; |
| | | import org.springframework.stereotype.Component; |
| | |
| | | */ |
| | | @Component("editOrg") |
| | | public class EditOrgComponent { |
| | | @Autowired |
| | | private IListOrgsSMO listOrgsSMOImpl; |
| | | |
| | | @Autowired |
| | | private IEditOrgSMO editOrgSMOImpl; |
| | |
| | | return editOrgSMOImpl.updateOrg(pd); |
| | | } |
| | | |
| | | /** |
| | | * 查询组织管理列表 |
| | | * @param pd 页面数据封装 |
| | | * @return 返回 ResponseEntity 对象 |
| | | */ |
| | | public ResponseEntity<String> list(IPageData pd){ |
| | | return listOrgsSMOImpl.listOrgs(pd); |
| | | } |
| | | |
| | | public IEditOrgSMO getEditOrgSMOImpl() { |
| | | return editOrgSMOImpl; |
| | | } |
| | |
| | | public void setEditOrgSMOImpl(IEditOrgSMO editOrgSMOImpl) { |
| | | this.editOrgSMOImpl = editOrgSMOImpl; |
| | | } |
| | | |
| | | public IListOrgsSMO getListOrgsSMOImpl() { |
| | | return listOrgsSMOImpl; |
| | | } |
| | | |
| | | public void setListOrgsSMOImpl(IListOrgsSMO listOrgsSMOImpl) { |
| | | this.listOrgsSMOImpl = listOrgsSMOImpl; |
| | | } |
| | | } |