|
|
|
@ -48,6 +48,9 @@ public class UpdateProductLineDomainServiceImpl implements UpdateProductLineDoma |
|
|
|
@Override |
|
|
|
public Result<String> delete(Long id) throws Exception { |
|
|
|
productLineBaseService.removeById(id); |
|
|
|
LambdaQueryWrapper<ProductLineEntity> queryWrapper = new LambdaQueryWrapper<>(); |
|
|
|
queryWrapper.eq(ProductLineEntity::getParentId , id); |
|
|
|
productLineBaseService.remove(queryWrapper); |
|
|
|
return Result.success("删除成功"); |
|
|
|
} |
|
|
|
} |
|
|
|
|