|
|
@@ -28,7 +28,7 @@ public class ModelFormDelHandler extends DefaultDelHandler<ModelForm> { |
|
|
|
@Override |
|
|
|
protected void delDb() { |
|
|
|
EntityDao<ModelForm> dao = DbEngine.getInstance().findDao(ModelForm.class); |
|
|
|
listDeled = ModelFormCache.getInstance().getListByModule(id); |
|
|
|
listDeled = new HashSet<>(ModelFormCache.getInstance().getListByModule(id)); |
|
|
|
if (CommUtil.isEmpty(listDeled)) { |
|
|
|
dao.deleteEntity(id); |
|
|
|
} else { |
|
|
|