Edit C:\Windows\install\galaxie_p02_26-09\WEB-INF\classes\com\edeal\frontline\kpi\methods\Dossier_CustomCountMethod.class
Êþº¾ 3M 9com/edeal/frontline/kpi/methods/Dossier_CustomCountMethod *com/edeal/frontline/kpi/AbstractCalcMethod entJoinCount I <init> ()V Code LineNumberTable LocalVariableTable this ;Lcom/edeal/frontline/kpi/methods/Dossier_CustomCountMethod; getSupportedAxes ()Ljava/util/Collection; Signature =()Ljava/util/Collection<Lcom/edeal/frontline/kpi/ICalcAxis;>; java/util/LinkedList com/edeal/frontline/kpi/TimeAxis EvtDate java/lang/String (com/edeal/frontline/kpi/AbstractCalcAxis ! " FRENCH_LOCALE Ljava/lang/String; $ Date de comité & ' " ENGLISH_LOCALE ) Event start Date + - , 'com/edeal/frontline/kpi/TimeGranularity . / DAY )Lcom/edeal/frontline/kpi/TimeGranularity; 1 2 c(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Lcom/edeal/frontline/kpi/TimeGranularity;)V 4 6 5 java/util/List 7 8 add (Ljava/lang/Object;)Z : com/edeal/frontline/kpi/RefAxis < Cl_ClassDecision > Décision comité @ Comite decision 9 B C ((Ljava/lang/String;[Ljava/lang/String;)V E Ds_Typologie G Type de dossier I Dossier type K com/edeal/frontline/kpi/FobAxis M Cl_Comite O Comité Q Committee S Event J U V :(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V axes Ljava/util/List; LocalVariableTypeTable 5Ljava/util/List<Lcom/edeal/frontline/kpi/ICalcAxis;>; run °(Ljava/util/Map;Ljava/util/Calendar;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;)Lcom/edeal/frontline/kpi/IDataSet; ç(Ljava/util/Map<Lcom/edeal/frontline/kpi/CalcParam;Ljava/lang/String;>;Ljava/util/Calendar;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;)Lcom/edeal/frontline/kpi/IDataSet; _ ` a composeQuery ?(Ljava/util/Map;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;)Ljava/lang/String; c d e logger Lorg/apache/commons/logging/Log; g i h &com/edeal/frontline/FrontlineException j k getMessage ()Ljava/lang/String; m o n org/apache/commons/logging/Log p q error *(Ljava/lang/Object;Ljava/lang/Throwable;)V s #com/edeal/frontline/kpi/ListDataSet u w v !com/edeal/frontline/kpi/Aggregate x y SUM #Lcom/edeal/frontline/kpi/Aggregate; r { | £(Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/Aggregate;Ljava/lang/Iterable;)V ~ java/lang/StringBuilder ? Requete : } ? ? (Ljava/lang/String;)V } ? ? ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; } ? ? k toString m ? ? ? info (Ljava/lang/Object;)V ? ? ? ctx Lcom/edeal/frontline/FlContext; ? ? ? com/edeal/frontline/FlContext ? ? getConnection ()Ljava/sql/Connection; ? ? ? java/sql/Connection ? ? createStatement ()Ljava/sql/Statement; ¢ ¡ java/sql/Statement £ ¤ executeQuery ((Ljava/lang/String;)Ljava/sql/ResultSet; ¦ !com/edeal/frontline/kpi/DBDataSet ¥ ¨ © ¸(Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/Aggregate;Ljava/sql/ResultSet;Ljava/sql/Connection;)V « i ¬ java/sql/SQLException ® ° ¯ com/edeal/frontline/Utils ± ² cleanUp @(Ljava/sql/Connection;Ljava/sql/Statement;Ljava/sql/ResultSet;)V params Ljava/util/Map; cal Ljava/util/Calendar; axis1 #Lcom/edeal/frontline/kpi/ICalcAxis; axis2 axis3 query e (Lcom/edeal/frontline/FrontlineException; it Ljava/lang/Iterable; dataSet #Lcom/edeal/frontline/kpi/DBDataSet; con Ljava/sql/Connection; st Ljava/sql/Statement; rs Ljava/sql/ResultSet; sqle Ljava/sql/SQLException; FLjava/util/Map<Lcom/edeal/frontline/kpi/CalcParam;Ljava/lang/String;>; 9Ljava/lang/Iterable<Lcom/edeal/frontline/kpi/SnapValue;>; StackMapTable Î java/util/Map Ð java/util/Calendar Ò !com/edeal/frontline/kpi/ICalcAxis Ô java/sql/ResultSet Exceptions Ã(Ljava/util/Map<Lcom/edeal/frontline/kpi/CalcParam;Ljava/lang/String;>;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;)Ljava/lang/String; } Ù "com/edeal/frontline/kpi/JoinHelper Ø Û Ü "(Lcom/edeal/frontline/FlContext;)V Þ SELECT COUNT (*) à á â addAxisField d(Ljava/lang/StringBuilder;ZLcom/edeal/frontline/kpi/JoinHelper;Lcom/edeal/frontline/kpi/ICalcAxis;)V ä FROM Dossier_ Ø æ ç è innerJoin &(Ljava/lang/String;)Ljava/lang/String; ê ë ì addAxisJoin c(Ljava/lang/StringBuilder;Lcom/edeal/frontline/kpi/JoinHelper;Lcom/edeal/frontline/kpi/ICalcAxis;)V î WHERE ð RefVal Ø ò ó ô field 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ö ='RECL' ø OR ú ='ADHES' ü ='SVQUAL' þ GROUP BY q Ljava/lang/StringBuilder; jh $Lcom/edeal/frontline/kpi/JoinHelper; dispose getSignature =()Ljava/util/Collection<Lcom/edeal/frontline/kpi/CalcParam;>; java/util/Collections emptyList ()Ljava/util/List; , Ñ k getUserCode 8 equals C.Cl_ClassDecision Ds_Typologie C.Cl_Comite E.EvtDate comma Z axis " 3 INNER JOIN Classement_ as C ON Ds_ID=C.Cl_Dossier $ Cl_ClassType& , INNER JOIN Event as E ON Ds_Comite=E.EvtID getUnit 2(Lcom/edeal/frontline/FlLocale;)Ljava/lang/String; *,+ com/edeal/frontline/FlLocale-. getLocale ()Ljava/util/Locale; 012 locale Ljava/util/Locale; 4'( 687 java/util/Locale92 FRANCE 6 6<=2 FRENCH? 5Nombre de dossiers par type de décisions par comitéA 1Number of cases by type of decisions by committee flLocale Lcom/edeal/frontline/FlLocale; result getDescription GE( *(Ljava/lang/String;)Ljava/util/Collection; O(Ljava/lang/String;)Ljava/util/Collection<Lcom/edeal/frontline/kpi/CalcParam;>; arg0 SourceFile Dossier_CustomCountMethod.java ! / *· ± "