Commit 857f9f8c1920dac80e7165cc0a2d27b2520fed6b

Authored by ROGERIO CASSIMIRO DE SOUZA
1 parent 98a0e21b
Exists in master

redmine #ecm-release-0001-sprint3 correcoes pos merge

cit-tabelas-corp-api/src/main/java/br/com/centralit/api/service/impl/EnderecoServiceImpl.java
... ... @@ -289,7 +289,7 @@ public class EnderecoServiceImpl extends GenericServiceImpl<Endereco, Long> impl
289 289 public String buscaUltimoCodigoEndereco(){
290 290 Endereco ultimoRegistro = (Endereco) this.enderecoDao.buscarUltimoRegistroComOrdenadoParametrizada("codigo");
291 291  
292   - Long sequencial = null;
  292 + Long sequencial = 0L;
293 293 if (UtilObjeto.isReferencia(ultimoRegistro)) {
294 294 sequencial = ultimoRegistro.getCodigo() == null ? null : Long.parseLong(ultimoRegistro.getCodigo());
295 295 }
... ...
cit-tabelas-corp-web/src/main/webapp/html/pessoa/contatos.html
... ... @@ -48,7 +48,7 @@
48 48 </label>
49 49 <i ng-show="formPessoa['cpfContato'].$error.required && (!formPessoa['cpfContato'].$pristine)" class='fa fa-warning red' tooltip="{{$translate.instant('CORPORATIVO.LABEL.REPRESENTANTE_LEGAL') + ' ' +$translate.instant('LABEL.CAMPO_OBRIGATORIO')}}" tooltip-placement='top'></i>
50 50 <input type="text" ng-cpf class='form-control' id="cpfContato" name="cpfContato" ng-model="contato.cpf" ui-mask="999.999.999-99" ng-disabled="isVisualizar" ng-required="contato.representanteLegal"/>
51   - <p class='help-block small red' ng-show="contato.cpf && !formPessoa.cpfContato.$valid"><translate>CORPORATIVO.LABEL.CPF</translate><translate>LABEL.INVALIDO</translate> </p>
  51 + <p class='help-block small red' ng-show="contato.cpf && !formPessoa.cpfContato.$valid"><translate>CORPORATIVO.LABEL.CPF</translate> <translate>LABEL.INVALIDO</translate> </p>
52 52 </div>
53 53 </div>
54 54 <div class='col-sm-4'>
... ...