Edit C:\Users\Administrator\Desktop\Back\Livraison EVQG22\com\edeal\frontline\helper\custom\CustomListContrats.class
Êþº¾ 3? 4com/edeal/frontline/helper/custom/CustomListContrats ,com/edeal/frontline/grid/CustomListResultSet logger Lorg/apache/commons/logging/Log; nb I <clinit> ()V Code %org/apache/commons/logging/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; LineNumberTable LocalVariableTable <init> this 6Lcom/edeal/frontline/helper/custom/CustomListContrats; getFieldMapping ()Ljava/util/HashMap; Signature ;()Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>; " java/util/HashMap ! % Ct_ID ! ' ( ) put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + Ct_NumContrat - Ct_ContratPrincipalMisc / Ct_ContratPrincipalMisc:Ct_ID 1 %Ct_ContratPrincipalMisc:Ct_NumContrat 3 Ct_TypeContrat 5 Ct_TypeContrat:Val 7 Ct_Statut 9 Ct_Statut:Val ; Ct_NatureContrat = Ct_NatureContrat:Val ? Ct_DateEffet A Ct_DateFin C Ct_DateSignature E EntID G PerID I Ct_DateAdhesion map Ljava/util/HashMap; LocalVariableTypeTable 9Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>; getResultSet ¨(Ljavax/servlet/http/HttpSession;Lcom/edeal/frontline/FlContext;Lcom/edeal/frontline/navigation/FlRequest;Ljava/util/HashMap;[Ljava/lang/String;II)Ljava/util/ArrayList; Exceptions R &com/edeal/frontline/FrontlineException (Ljavax/servlet/http/HttpSession;Lcom/edeal/frontline/FlContext;Lcom/edeal/frontline/navigation/FlRequest;Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;[Ljava/lang/String;II)Ljava/util/ArrayList<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>; U W V com/edeal/frontline/FlContext X Y getDataDictionary &()Lcom/edeal/frontline/DataDictionary; [ java/lang/StringBuilder Z ^ ` b a (com/edeal/frontline/navigation/FlRequest c d getSearchCriteria &(Ljava/lang/String;)Ljava/lang/String; f java/util/ArrayList e i k j com/edeal/frontline/Utils l m isEmpty (Ljava/lang/String;)Z o % Z q r (Ljava/lang/String;)V t v u java/lang/String w x toUpperCase ()Ljava/lang/String; Z z { | append -(Ljava/lang/String;)Ljava/lang/StringBuilder; Z ~ x toString ? AND UPPER(Ct_NumContrat) LIKE i ? ? ? formatToSQL E(Lcom/edeal/frontline/FlContext;Ljava/lang/String;)Ljava/lang/String; ? !Ct_ContratPrincipal:Ct_NumContrat ? Ct_ModeReg ? AND Ct_ModeReg = ? ? ? java/lang/Boolean ? ? valueOf (Z)Ljava/lang/Boolean; ? EntTriName_ ? AND UPPER(EntTriName_) LIKE ? EntCorpName ? AND UPPER(EntCorpName) LIKE ? AND EntID = ? AND Ct_Statut = ? AND Ct_TypeContrat = ¡ AND Ct_NatureContrat = £ Ct_DateSignature$From ¥ AND Ct_DateSignature >= § Ct_DateSignature$To © AND Ct_DateSignature <= «SELECT distinct(Ct_ID), Ct_ContratPrincipal, Ct_TypeContrat, Ct_NumContrat, Ct_CodeContrat, Ct_Statut, Ct_NatureContrat, Ct_DateAdhesion, Ct_DateEffet, Ct_DateFin, Ct_DateSignature, EntTriName_, EntCorpName, EntID, sg_contact.MvaText as PerID, stctr.RefPos, typectr.RefTe2 SELECT count(*) ¯ FROM Contrat_ ctr ± 8Left join Signataire_ sg_ on sg_.sg_contrat = ctr.Ct_ID ³ @Left join MvaSg_Tiers sg_tiers on sg_tiers.MvaColID = sg_.Sg_ID µ 9Left join Enterprise ent on sg_tiers.MvaText = ent.EntID · FLeft join MvaSg_Contact sg_contact on sg_.Sg_ID = sg_contact.MvaColID ¹ 5Left join RefValues stctr on stctr.RefID = Ct_Statut » >Left join RefValues typectr on typectr.RefID = Ct_TypeContrat ½ WHERE Ct_ID IS NOT NULL Z ¿ { À 3(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;  S ORDER BY typectr.RefTe2,stctr.RefPos DESC,Ct_DateEffet DESC,Ct_DateSignature DESC U Ä Å Æ getConnection ()Ljava/sql/Connection; È Ê É java/sql/Connection Ë Ì prepareStatement 0(Ljava/lang/String;)Ljava/sql/PreparedStatement; Î Ð Ï java/sql/PreparedStatement Ñ Ò executeQuery ()Ljava/sql/ResultSet; Ô Ö Õ java/sql/ResultSet × Ø next ()Z Ô Ú Û Ü getInt (I)I Ô Þ ß close Î Þ È Þ ã LIMIT Z å { æ (I)Ljava/lang/StringBuilder; è OFFSET ê $***Liste des Contrats, Total count: ì î í org/apache/commons/logging/Log ï ð info (Ljava/lang/Object;)V ò #CustomListContrats sql Count query: Z ô { õ -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ÷ CustomListContrats sql query: ù Ct_ContratPrincipal û Ct_CodeContrat ý stctr.RefPos ÿ typectr.RefTe2 com/edeal/frontline/BasicBean listSQL Y(Ljavax/servlet/http/HttpSession;[Ljava/lang/String;Ljava/lang/String;)Ljava/util/Vector; java/util/Vector size ()I iterator ()Ljava/util/Iterator; java/util/Iterator × ()Ljava/lang/Object; java/util/Hashtable get &(Ljava/lang/Object;)Ljava/lang/Object; k #org/apache/commons/lang/StringUtils 'com/edeal/frontline/custom/Contrat_Bean ! " 4(Ljava/lang/String;Lcom/edeal/frontline/FlContext;)V $% x getCt_NumContrat ')( "com/edeal/frontline/DataDictionary*+ getRefDisp X(Ljavax/servlet/http/HttpSession;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;- java/util/Date e/01 add (Ljava/lang/Object;)Z34 Ø hasNext6 java/sql/SQLException8 java/lang/Exception session Ljavax/servlet/http/HttpSession; context Lcom/edeal/frontline/FlContext; flRequest *Lcom/edeal/frontline/navigation/FlRequest; parameters orderby [Ljava/lang/String; beginIndex nbEntry dico $Lcom/edeal/frontline/DataDictionary; queryWhere Ljava/lang/StringBuilder; ord sOrd Ljava/lang/String; numContrat res Ljava/util/ArrayList; numContratprincipal modRegl entJoin Ljava/lang/Boolean; pEntTriname pEntCorpName entreprisID statutRegl typeContr natureContr pCt_DateSignatureFrom pCt_DateSignatureTo sqlQuery sqlQueryCount ps Ljava/sql/PreparedStatement; rs Ljava/sql/ResultSet; con Ljava/sql/Connection; e Ljava/sql/SQLException; min max keys list Ljava/util/Vector; i iter Ljava/util/Iterator; row Ljava/util/Hashtable; val idCtr numeroCtr numeroCtrPrincipal ctrB )Lcom/edeal/frontline/custom/Contrat_Bean; typeCtr statutCtr natureCtr dateAjout Ljava/util/Date; dateFin dateCreation entid perid ct_DateAdhesion 9Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>; PLjava/util/ArrayList<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>; StackMapTable? javax/servlet/http/HttpSessionA? java/lang/Throwable getNumberOfResults SourceFile CustomListContrats.java ! ) ¸ ³ ± <