Edit C:\Users\Administrator\Desktop\Back\Livraison EVQG22\com\edeal\frontline\kpi\methods\GiftCheque_CustomCountMethod.class
Êþº¾ 3o <com/edeal/frontline/kpi/methods/GiftCheque_CustomCountMethod *com/edeal/frontline/kpi/AbstractCalcMethod <init> ()V Code LineNumberTable LocalVariableTable this >Lcom/edeal/frontline/kpi/methods/GiftCheque_CustomCountMethod; getSupportedAxes ()Ljava/util/Collection; Signature =()Ljava/util/Collection<Lcom/edeal/frontline/kpi/ICalcAxis;>; java/util/LinkedList com/edeal/frontline/kpi/TimeAxis GchCrDt 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; / 0 c(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Lcom/edeal/frontline/kpi/TimeGranularity;)V 2 4 3 java/util/List 5 6 add (Ljava/lang/Object;)Z 8 "com/edeal/frontline/kpi/StringAxis : GchCrDt_Year < Année (Date de création) > Year (Date of Creation) 7 @ A :(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V C GchValidityDt E Date de validité G Effective Date I com/edeal/frontline/kpi/RefAxis K GchStatusID M Statut O Department H Q R ((Ljava/lang/String;[Ljava/lang/String;)V T GchMontant V Montant X Amount Z com/edeal/frontline/kpi/FobAxis \ CgcCustomer ^ Client ` Customer b Correspondent Y @ e GchUseWithAdherent g (Utilisation du chèque chez lâ??affilié i Partner k Enterprise 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; t u v composeQuery ?(Ljava/util/Map;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;)Ljava/lang/String; x y z logger Lorg/apache/commons/logging/Log; | ~ } &com/edeal/frontline/FrontlineException ? getMessage ()Ljava/lang/String; ? ? ? org/apache/commons/logging/Log ? ? error *(Ljava/lang/Object;Ljava/lang/Throwable;)V ? #com/edeal/frontline/kpi/ListDataSet ? ? ? !com/edeal/frontline/kpi/Aggregate ? ? SUM #Lcom/edeal/frontline/kpi/Aggregate; ? ? ? £(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; ? ? ? ? toString ? ¡ ¢ £ 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 À ~ Á 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 GiftCheque_ û ü ý addAxisJoin c(Ljava/lang/StringBuilder;Lcom/edeal/frontline/kpi/JoinHelper;Lcom/edeal/frontline/kpi/ICalcAxis;)V ÿ GROUP BY ÷ addAxisFieldG valueOf &(Ljava/lang/Object;)Ljava/lang/String; /com/edeal/frontline/kpi/methods/KPIMethodHelper getSQLlimitForKPImethod 3(Lcom/edeal/frontline/FlContext;)Ljava/lang/String; 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; , axis.getUserCode(): æ!"