Sfoglia il codice sorgente

fix genera delega

feature/fix_soggetti
marcoalderighi 2 anni fa
parent
commit
afd63c00e6
  1. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
  2. 3
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/SoggettoLocalServiceImpl.java
  3. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar

File binario non mostrato.

3
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/SoggettoLocalServiceImpl.java

@ -1477,6 +1477,7 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
idComune = Long.parseLong(comuneId);
}
Comune comune = comuneLocalService.fetchComune(idComune);
if(Validator.isNotNull(comune)){
try {
Provincia provincia = provinciaLocalService.findByC_C(comune.getCompanyId(), codiceProvincia);
return comune.getDenominazione() + " (" + provincia.getSigla() + ')';
@ -1484,5 +1485,7 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
return comune.getDenominazione();
}
}
return StringPool.BLANK;
}
}
}

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties

@ -13,8 +13,8 @@
##
build.namespace=portos_bo
build.number=2907
build.date=1683790768291
build.number=2909
build.date=1685017430153
build.auto.upgrade=true
##

Caricamento…
Annulla
Salva