|
|
|
@ -34,7 +34,8 @@ public class AdvancedOperationUtil {
|
|
|
|
|
try { |
|
|
|
|
List<DocPratica> docPraticaList = DocPraticaLocalServiceUtil.findByIntPratica(intPraticaId); |
|
|
|
|
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); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|