|
|
|
@ -144,14 +144,12 @@ public class AzioniPraticheUtil {
|
|
|
|
|
status = STATE_COLLAUDO_PARZIALE; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if(intPratica.getIntPraticaId() == 186466){ |
|
|
|
|
_log.info(status); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
List<String> actionList = STATE_ACTIONS_MAP.get(status); |
|
|
|
|
if (actionList == null) { |
|
|
|
|
actionList = new ArrayList<>(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (!actionList.contains(action)) { |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
@ -200,6 +198,7 @@ public class AzioniPraticheUtil {
|
|
|
|
|
SystemException { |
|
|
|
|
|
|
|
|
|
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); |
|
|
|
|
|
|
|
|
|
if (!isAllowedAction(intPraticaId, ACTION_AGGIUNGI_SOGGETTO)) { |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|