|
|
|
@ -55,7 +55,7 @@ public class ModelServiceImpl extends BaseServiceImpl<ModelMapper, Model> implem
|
|
|
|
|
} |
|
|
|
|
boolean codeTemp = codeService.remove(Wrappers.<Code>lambdaQuery().in(Code::getModelId, ids)); |
|
|
|
|
if (!codeTemp) { |
|
|
|
|
throw new ServiceException("删除数据模型成功,关联代码生成陪孩子删除失败"); |
|
|
|
|
throw new ServiceException("删除数据模型成功,关联代码生成配置删除失败"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return false; |
|
|
|
|