mnadoo5
Messages postés6Date d'inscriptionjeudi 4 mai 2006StatutMembreDernière intervention11 mai 2006
-
8 mai 2006 à 18:04
scaryman
Messages postés492Date d'inscriptionvendredi 30 janvier 2004StatutMembreDernière intervention16 mai 2007
-
8 mai 2006 à 19:35
salut a tous!
je travail avec jbuilder et lors de l'execution d'une méthode qui est la suivante :
public int calcul_FAC_COTS(Utilisateur u, int Y)//juste
{
try {
String req2="Select SALAIREBIB from valeurestimation,domaine,organisation where (domaine.IDDOM='"+this.get_IDDOM()+"' AND domaine.IDORG=organisation.IDORG AND organisation.IDORG=valeurestimation.IDORG) " ; // probleme : pour quelle ID estimation
ResultSet res2=u.get_Connexion().consulter_Table(req2);
boolean res2next= res2.next();
Paybib=res2.getDouble("SALAIREBIB");
String SQLNRC="Select NRC,REASS from cots,cotsdom where (cotsdom.IDDOM='"+this.get_IDDOM()+"' AND cotsdom.IDCOTS=cots.IDCOTS AND cots.SD_COTS='"+SD+"')";
ResultSet resSQLNRC=u.get_Connexion().consulter_Table(SQLNRC);
boolean resSQLNRCnext= resSQLNRC.next();