病例交流修改的问题

This commit is contained in:
2025-07-25 16:00:46 +08:00
parent d829af6ba0
commit 7d206deaac
5 changed files with 54 additions and 9 deletions
@@ -69,6 +69,16 @@ public class CaseClinicalVideoController {
return Response.error("非法视频");
}
// 删除状态
if (video.getDeleteStatus() == 1){
return Response.error(201,null,"该作品已被删除");
}
// 状态(1:正常 2:禁用)
if (video.getVideoStatus() == 2){
return Response.error(201,null,"该作品已被删除");
}
// 查找作者
LambdaQueryWrapper<CaseClinicalVideoAuthorModel> authorQueryWrapper = new LambdaQueryWrapper<>();
authorQueryWrapper.eq(CaseClinicalVideoAuthorModel::getVideoId, video.getVideoId());