|
@@ -144,7 +144,7 @@ public class AitagTagCategoryServiceImpl implements AitagTagCategoryService {
|
|
|
// 判断标签数量是否为 0
|
|
// 判断标签数量是否为 0
|
|
|
int tagCount = aiTagCategoryMapper.countTagsByCategoryId(id);
|
|
int tagCount = aiTagCategoryMapper.countTagsByCategoryId(id);
|
|
|
if (tagCount > 0) {
|
|
if (tagCount > 0) {
|
|
|
- throw new RuntimeException("该体系下存在标签数据,为确保业务数据完整性,禁止删除,请先清理关联内容");
|
|
|
|
|
|
|
+ throw new RuntimeException("该体系下存在标签数据,为确保业务数据完整性,禁止删除");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
aiTagCategoryMapper.deleteCategory(id);
|
|
aiTagCategoryMapper.deleteCategory(id);
|