Edit C:\Windows\install\galaxie_p02_26-09\WEB-INF\classes\com\edeal\frontline\kpi\methods\ChqFidelite_CustomCountMethod.class
Êþº¾ 39 =com/edeal/frontline/kpi/methods/ChqFidelite_CustomCountMethod *com/edeal/frontline/kpi/AbstractCalcMethod entJoinCount I <init> ()V Code LineNumberTable LocalVariableTable this ?Lcom/edeal/frontline/kpi/methods/ChqFidelite_CustomCountMethod; getSupportedAxes ()Ljava/util/Collection; Signature =()Ljava/util/Collection<Lcom/edeal/frontline/kpi/ICalcAxis;>; java/util/LinkedList com/edeal/frontline/kpi/TimeAxis Cf_DateCreation java/lang/String (com/edeal/frontline/kpi/AbstractCalcAxis ! " FRENCH_LOCALE Ljava/lang/String; $ Date de création & ' " ENGLISH_LOCALE ) Date of Creation + - , '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 < EntDepartmentID_ > Département du Tiers @ Department of Tiers 9 B C ((Ljava/lang/String;[Ljava/lang/String;)V E com/edeal/frontline/kpi/FobAxis G EntStructureLocalID_ I Association K Asso M Enterprise D O P :(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V R Cf_UtilAdherent T Affilié V Affiliated 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 ChqFidelite_ æ ç è addAxisJoin c(Ljava/lang/StringBuilder;Lcom/edeal/frontline/kpi/JoinHelper;Lcom/edeal/frontline/kpi/ICalcAxis;)V ê WHERE ì Cf_UtilAdherent IS NOT NULL î 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 Cf_DateCreation E.EntDepartmentID_ E.EntStructureLocalID_ Cf_UtilAdherent comma Z axis 7 INNER JOIN Enterprise as E ON Cf_UtilAdherent=E.EntID getUnit 2(Lcom/edeal/frontline/FlLocale;)Ljava/lang/String; com/edeal/frontline/FlLocale getLocale ()Ljava/util/Locale; locale Ljava/util/Locale; "$# java/util/Locale% FRANCE " "() FRENCH+ *Nombre de chèque de fidélité utilisés - Fidelity Cheques count flLocale Lcom/edeal/frontline/FlLocale; result getDescription 31 *(Ljava/lang/String;)Ljava/util/Collection; O(Ljava/lang/String;)Ljava/util/Collection<Lcom/edeal/frontline/kpi/CalcParam;>; arg0 SourceFile "ChqFidelite_CustomCountMethod.java ! / *· ± ! »» Y· L+» Y½ Y² SY#SY² %SY(S² *· 0¹ 3 W+» 9Y;½ Y² SY=SY² %SY?S· A¹ 3 W+» DYF½ Y² SYHSY² %SYJSL· N¹ 3 W+» DYQ½ Y² SYSSY² %SYUSL· N¹ 3 W+° &