Edit C:\Users\Administrator\Desktop\galaxie\WEB-INF\classes\com\edeal\frontline\kpi\methods\GiftCheque_PerimesCustomCountMethod.class
Êþº¾ 3? Ccom/edeal/frontline/kpi/methods/GiftCheque_PerimesCustomCountMethod *com/edeal/frontline/kpi/AbstractCalcMethod <init> ()V Code LineNumberTable LocalVariableTable this ELcom/edeal/frontline/kpi/methods/GiftCheque_PerimesCustomCountMethod; 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 GchMontant K Montant M Amount O com/edeal/frontline/kpi/FobAxis Q CgcCustomer S Client U Customer W Correspondent N @ Z GchUseWithAdherent \ (Utilisation du chèque chez lâ??affilié ^ Partner ` 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; i j k composeQuery ?(Ljava/util/Map;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;)Ljava/lang/String; m n o logger Lorg/apache/commons/logging/Log; q s r &com/edeal/frontline/FrontlineException t u getMessage ()Ljava/lang/String; w y x org/apache/commons/logging/Log z { 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; ? ? ? u toString w ? ? ? 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 µ s ¶ 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_ ð GchStatusID â ò ó ô 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; ='OT' java/util/Date OR GchValidityDt < ¸ formatToSQLDate $(Ljava/util/Date;)Ljava/lang/String; 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; dateDuJour Ljava/util/Date; dispose getSignature =()Ljava/util/Collection<Lcom/edeal/frontline/kpi/CalcParam;>; ')( java/util/Collections*+ emptyList ()Ljava/util/List;- , / 1 axis.getUserCode(): Û34 u getUserCode 6 s7 java/lang/Exception w9 z ? 6;<