From cdc6cd1bba85d08a0ff47a368c1f4904c07a4d20 Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期二, 19 八月 2025 20:21:08 +0800 Subject: [PATCH] 用户修改个人信息时 报错 --- zhang-content/src/main/java/com/ruoyi/service/impl/LiveStreamingServiceImpl.java | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/zhang-content/src/main/java/com/ruoyi/service/impl/LiveStreamingServiceImpl.java b/zhang-content/src/main/java/com/ruoyi/service/impl/LiveStreamingServiceImpl.java index 720135c..4120a90 100644 --- a/zhang-content/src/main/java/com/ruoyi/service/impl/LiveStreamingServiceImpl.java +++ b/zhang-content/src/main/java/com/ruoyi/service/impl/LiveStreamingServiceImpl.java @@ -182,4 +182,13 @@ } } + @Override + public AjaxResult deleteData(Long[] ids) { + List<LiveStreaming> liveStreaming = selectByIds(ids); + for (LiveStreaming liveStreaming1:liveStreaming) { + liveStreaming1.setStatus(1); + updateById(liveStreaming1); + } + return AjaxResult.success(); +} } -- Gitblit v1.9.1