|
|
@ -34,7 +34,8 @@ public class AdvancedOperationUtil { |
|
|
|
try { |
|
|
|
try { |
|
|
|
List<DocPratica> docPraticaList = DocPraticaLocalServiceUtil.findByIntPratica(intPraticaId); |
|
|
|
List<DocPratica> docPraticaList = DocPraticaLocalServiceUtil.findByIntPratica(intPraticaId); |
|
|
|
for(DocPratica docPratica : docPraticaList){ |
|
|
|
for(DocPratica docPratica : docPraticaList){ |
|
|
|
if(Validator.isNull(DettPraticaLocalServiceUtil.fetchDettPratica(docPratica.getClassPk()))){ |
|
|
|
if(Validator.isNull(DettPraticaLocalServiceUtil.fetchDettPratica(docPratica.getClassPk())) |
|
|
|
|
|
|
|
&& DettPratica.class.getName().equals(docPratica.getClassName())){ |
|
|
|
docPraticaOrfaniList.add(docPratica); |
|
|
|
docPraticaOrfaniList.add(docPratica); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|