fix: 删除字典下的字典项方法缺失问题修复
This commit is contained in:
@@ -187,7 +187,10 @@ public class SysDictServiceImpl extends ServiceImpl<SysDictMapper, SysDict> impl
|
|||||||
boolean result = this.removeById(id);
|
boolean result = this.removeById(id);
|
||||||
if (result) {
|
if (result) {
|
||||||
// 删除字典下的字典项
|
// 删除字典下的字典项
|
||||||
dictItemService.removeByDictId(Convert.toLong(id));
|
dictItemService.remove(
|
||||||
|
new LambdaQueryWrapper<SysDictItem>()
|
||||||
|
.eq(SysDictItem::getDictId, id)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user