病例交流修改的问题
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user