Merge origin/master

Conflicts:
	src/java/bdd/PompierMySql.java
	src/java/com/test/servlets/authentifServlet.java
	web/WEB-INF/CreaPompier.jsp
This commit is contained in:
funcha.ahamadi 2021-10-21 16:54:04 +02:00
parent 585b08ff8f
commit 7b3fd1e8e3

View File

@ -101,14 +101,18 @@ public class PompierMySql {
stmt.setString(2, p.getNom());
stmt.setString(3, p.getPrenom());
stmt.setInt(4, p.getStatut());
stmt.setString(5, p.getMail());
stmt.setString(6, p.getLogin());
stmt.setString(7, p.getMdp());
stmt.setInt(8, p.getAdrNo());
stmt.setString(9, p.getAdrRue());
stmt.setString(10, p.getAdrCP());
stmt.setString(11, p.getAdrVille());
stmt.setInt(12, p.getGrade());
stmt.setInt(5, p.getTypePers());
stmt.setString(6, p.getMail());
stmt.setString(7, p.getLogin());
stmt.setString(8, p.getMdp());
stmt.setString(9, p.getAdresse());
stmt.setString(10, p.getCp());
stmt.setString(11, p.getVille());
stmt.setInt(12, p.getBip());
stmt.setInt(13, p.getNbGardes());
stmt.setInt(14, p.getGrade());
stmt.setString(15, p.getCommentaire());
stmt.setInt(16, p.getIdEmployeur());
System.out.println("Requête : " + stmt.toString());
int status = stmt.executeUpdate();