|
|
@ -960,7 +960,7 @@ public class SismicaUtil { |
|
|
|
if (tokens.contains(controllo.getControlloPraticaId())) |
|
|
|
if (tokens.contains(controllo.getControlloPraticaId())) |
|
|
|
tokenCount++; |
|
|
|
tokenCount++; |
|
|
|
} |
|
|
|
} |
|
|
|
if (0 == tokenCount) { |
|
|
|
if (0 == tokenCount && Validator.isNotNull(last)) { |
|
|
|
ServiceContext serviceContext = new ServiceContext(); |
|
|
|
ServiceContext serviceContext = new ServiceContext(); |
|
|
|
serviceContext.setCompanyId(last.getCompanyId()); |
|
|
|
serviceContext.setCompanyId(last.getCompanyId()); |
|
|
|
serviceContext.setScopeGroupId(last.getGroupId()); |
|
|
|
serviceContext.setScopeGroupId(last.getGroupId()); |
|
|
|