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