예제 #1
0
 @Override
 public List<String[]> getGSZB(Date d, List<Company> companies) {
   IPipe pipe = new BasicPipe(gsztZb, companies, d, confFactory.getFinancialPipeConfigurator());
   List<Double[]> data = pipe.getData();
   List<String[]> result = makeZbResult(gsztZb, data);
   result.remove(gsztZb.indexOf(GSZB.FZZEQMS184.getValue()));
   return result;
 }
 @Override
 protected void onConfiguring(
     IPipe pipe,
     IAccumulator acc,
     List<Integer> zbs,
     int startRow,
     int step,
     List<Company> subComps,
     WclPipeFilter wclFilter,
     ZzlPipeFilter tbzzFilter) {
   pipe.addFilter(
           new AccPipeFilter(acc, 0, startRow, step)
               .includeCompanies(subComps)
               .exclude(Indicator.ZBL.ordinal()))
       .addFilter(
           new AccPipeFilter(acc, 1, startRow, step)
               .includeCompanies(subComps)
               .exclude(Indicator.ZBL.ordinal()))
       .addFilter(new CompositeRatioPipeFilter(startRow, step).exclude(0))
       .addFilter(
           new RatioIndicatorPipeFilter(startRow, step)
               .add(Indicator.TBZB.ordinal(), Indicator.TBJE.ordinal()));
 }