/** 操作组织 包括增,删,改组织信息 */ public String omOperateOrganization() throws Exception { if (type != null) { returnData = organizationService.omOperateOrganization(type, data); } else { returnData = super.getReturnFalse("操作类型不能为空!"); } super.writeJson(returnData); return null; }
/** * 获得组织树 * * @return * @throws Exception */ public String omGetOrganizationTree() throws Exception { if (type != null) { returnData = organizationService.omGetOrganizationTree(type, data); } else { returnData = getReturnFalse("返回数据类型不能为空!"); } super.writeJson(returnData); return null; }
/** * 搜索组织(用户) * * @return * @throws Exception */ public String omSerachOrganization() throws Exception { returnData = organizationService.omSerachOrganization(data); super.writeJson(returnData); return null; }
/** * 取得所有组织 * * @return * @throws Exception */ public String omGetZTreeAllOrganization() throws Exception { returnData = organizationService.omGetZTreeAllOrganization(); super.writeJson(returnData); return null; }
/** * 取得组织下的子节点数量 * * @return * @throws Exception */ public String omGetSubCount() throws Exception { returnData = organizationService.omGetSubCount(data); super.writeJson(returnData); return null; }