Edit C:\Users\Administrator\Desktop\Back\Livraison EVQG22\com\edeal\frontline\kpi\methods\GiftCheque_CustomAmountMethod.class
Êþº¾ 3Ý =com/edeal/frontline/kpi/methods/GiftCheque_CustomAmountMethod *com/edeal/frontline/kpi/AbstractCalcMethod cp #Lcom/edeal/frontline/kpi/CalcParam; <init> ()V Code LineNumberTable LocalVariableTable this ?Lcom/edeal/frontline/kpi/methods/GiftCheque_CustomAmountMethod; 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; 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/StringAxis < GchCrDt_Year > Année (Date de création) @ Year (Date of Creation) 9 B C :(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V E GchValidityDt G Date de validité I Effective Date K com/edeal/frontline/kpi/RefAxis M GchStatusID O Statut Q Department J S T ((Ljava/lang/String;[Ljava/lang/String;)V V com/edeal/frontline/kpi/FobAxis X CgcCustomer Z Client \ Customer ^ Correspondent U B a GchUseWithAdherent c (Utilisation du chèque chez lâ??affilié e Partner g Enterprise i EntCheNbID_ k Nombre de cheminées m Number of Cheminees o GchPaymentDt q Date de paiement s GchDeadlineDt u Date d'échéance w Date d'echeance y GchUpd { Date de modification } Modification date 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; ? ? ? composeQuery ?(Ljava/util/Map;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;)Ljava/lang/String; ? ? ? 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 SUM(GchMontant) 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 0 ô entrySet ()Ljava/util/Set; java/util/Set iterator ()Ljava/util/Iterator;! java/util/Iterator"# next ()Ljava/lang/Object;% java/util/Map$Entry$'(# getValue *+ 8 equals- 1/ 2123 hasNext ()Z5 : LEFT JOIN Enterprise e1 on e1.EntID = GchUseWithAdherent 789 equalsIgnoreCase (Ljava/lang/String;)Z ;<= contains (Ljava/lang/CharSequence;)Z? ; LEFT JOIN RefValues as ref on e1.EntAdhState_ = ref.RefID A WHERE ref.RefVal ='ADHACTIF'C WHERE ref.RefVal ='ADHNNACTIF' E GROUP BY GH addAxisFieldG JKL valueOf &(Ljava/lang/Object;)Ljava/lang/String; NPO /com/edeal/frontline/kpi/methods/KPIMethodHelperQR getSQLlimitForKPImethod 3(Lcom/edeal/frontline/FlContext;)Ljava/lang/String; q Ljava/lang/StringBuilder; jh $Lcom/edeal/frontline/kpi/JoinHelper; valueParameter entry Ljava/util/Map$Entry; jointure LLjava/util/Map$Entry<Lcom/edeal/frontline/kpi/CalcParam;Ljava/lang/String;>; dispose getSignature =()Ljava/util/Collection<Lcom/edeal/frontline/kpi/CalcParam;>; `ba java/util/Collectionscd emptyList ()Ljava/util/List;f axis.getUserCode(): øhi ? getUserCode k ?l java/lang/Exception ?n ? µ kpq printStackTraces , u w GchCrDty + EXTRACT(YEAR FROM GchCrDt) AS GchCrDt_Year{ GchValidityDt} GchStatusID GchMontant? GchMontant? join_1.CgcCustomer? GchUseWithAdherent? e1.EntCheNbID_? GchPaymentDt? GchDeadlineDt? GchUpd comma Z axis Ljava/lang/Exception; strComma? ucode: ? C LEFT OUTER JOIN CmdGiftCheque_ as join_1 ON GchCgcID=join_1.CgcID 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¯ CA des chèques Cadeaux± Gift Cheques CA flLocale Lcom/edeal/frontline/FlLocale; result getDescription ·µ?¹ 'Somme des montants des Chèques cadeaux» Bookings counting *(Ljava/lang/String;)Ljava/util/Collection; O(Ljava/lang/String;)Ljava/util/Collection<Lcom/edeal/frontline/kpi/CalcParam;>;¿ !com/edeal/frontline/kpi/CalcParam ¾Á  9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V Ä Æ Type du Logis ¾ÈÉ ª setName ¾ËÌ ª setDefaultValueÎ :(0 : Tous) (1 : Adhérent Actif) (2 : Adhérent Non Actif) ¾ÐÑ ª setDesc ÓÕÔ java/util/ArraysÖ× asList %([Ljava/lang/Object;)Ljava/util/List; arg0 SourceFile "GiftCheque_CustomAmountMethod.java InnerClasses Entry ! / *· ± $ ? Í» Y· L+» Y½ Y² SY#SY² %SY(S² *· 0¹ 3 W+» 9Y;½ Y² SY=SY² %SY?S;· A¹ 3 W+» YD½ Y² SYFSY² %SYHSD² *· 0¹ 3 W+» JYL½ Y² SYNSY² %SYPS· R¹ 3 W+» UYW½ Y² SYYSY² %SY[S]· _¹ 3 W+» UY`½ Y² SYbSY² %SYdSf· _¹ 3 W+» JYh½ Y² SYjSY² %SYlS· R¹ 3 W+» Yn½ Y² SYpSY² %SYpSn² *· 0¹ 3 W+» Yr½ Y² SYtSY² %SYvSr² *· 0¹ 3 W+» Yx½ Y² SYzSY² %SY|Sx² *· 0¹ 3 W+° 2 ) * 7 + c - ? . ¼ 0 è 1 2>