User user = UtilSession.getUserInSession();
DemandeValidationConsoTempsAccPers dctapForUpdate = manager
.getDVCTAPById(Long.valueOf(formDctap.getId()));
if (dctapForUpdate.getEtat() == 0 || dctapForUpdate.getEtat() == 4) {
AccPersonalise acc = new AccPersonalise(null,
formDctap.getAccPersNom(), 1, user.getId());
if (manager.getAPById(formDctap.getAccPersId()) != null) {
acc = manager.getAPById(formDctap.getAccPersId());
dctapForUpdate
.setAccPers(manager.getAPById(formDctap.getAccPersId()));