| | |
| | | import com.alibaba.fastjson.serializer.SerializerFeature; |
| | | import com.vci.base.common.utility.ObjectUtility; |
| | | import com.vci.client.common.providers.ServiceProvider; |
| | | import com.vci.corba.common.PLException; |
| | | import com.vci.corba.common.VCIError; |
| | | import com.vci.corba.query.ObjectQueryService; |
| | | import com.vci.starter.web.constant.QueryOptionConstant; |
| | |
| | | // com.vci.corba.query.data.BOAndLO[] bos = platformClientUtil.getQueryService().getBOAndLOS(qt.getId(), Tool.qtTOXMl(qt).asXML(),linkTypeDataQuery.getParentOid()==null?"":linkTypeDataQuery.getParentOid()); |
| | | com.vci.corba.query.data.BOAndLO[] bos = ServiceProvider.getOQService().getBOAndLOS(qt.getId(), Tool.qtTOXMl(qt).asXML(),linkTypeDataQuery.getParentOid()==null?"":linkTypeDataQuery.getParentOid()); |
| | | return Arrays.stream(bos).collect(Collectors.toList()); |
| | | } catch (VCIError e) { |
| | | } catch (PLException e) { |
| | | // logger.error(e.error_code,e); |
| | | throw WebUtil.getVciBaseException(e); |
| | | } |
| | |
| | | }); |
| | | dataGrid.setData(data); |
| | | dataGrid.setTotal(total[0]); |
| | | } catch (VCIError e) { |
| | | } catch (PLException e) { |
| | | // logger.error(e.error_code,e); |
| | | throw WebUtil.getVciBaseException(e); |
| | | } |