Bonjour,
2 transformations qui me donnent des erreurs
Doit être au format "06" suivi de 8 chiffres :
client.Numero == null ? "format incorrect" : "06" + (client.Numero.length().substring(0, 8))
ERREUR : impossible d'invoquer substring sur le type int (pourtant mon numero client est en string)
Doit être au format "10 chiffres" ou au format "+" suivi de 19 chiffres max
Appel.No_appelant !=null && (Appel.No_appelant.matches("[0-9]{10}") || Appel.No_appelant.matches("^\\+[0-9]{19}"))
Si quelqu'un pouvait m'expliquer mes erreurs...ERREUR : non concordances de type -> bollean en string
merci
Partager