Sfoglia il codice sorgente

fix userId for getLastDettPraticaUserId in AOP

feature/fix_soggetti
marcoalderighi 2 anni fa
parent
commit
e5f6b12458
  1. 3
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/src/it/nextmind/liferay/portos/advanced/operation/util/AdvancedOperationUtil.java

3
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/src/it/nextmind/liferay/portos/advanced/operation/util/AdvancedOperationUtil.java

@ -262,6 +262,7 @@ public class AdvancedOperationUtil {
}
public static boolean evalInt_Dett_UserID(IntPratica intPratica){
_log.info("lastDettPraticaUserID: "+getLastDettPraticaUserID(intPratica)+" || intPraticaUserID: "+intPratica.getUserId());
return getLastDettPraticaUserID(intPratica) == intPratica.getUserId();
}
@ -274,7 +275,7 @@ public class AdvancedOperationUtil {
} catch (SystemException e){
_log.error(e,e);
}
return -1;
return intPratica.getUserId();
}
private static List<DettPratica> _getDettPraticaList(long intPraticaId) {

Caricamento…
Annulla
Salva