删除病历夹时校验
This commit is contained in:
@@ -103,7 +103,7 @@ public class AiRecordFolderController {
|
||||
int count = aiRecordFolderChatService.count(new LambdaQueryWrapper<AiRecordFolderChat>()
|
||||
.eq(AiRecordFolderChat::getFolderId,params.get("id").toString()));
|
||||
if (count > 0){
|
||||
return R.error("存在历史记录,请清空后在删除");
|
||||
return R.error("存在患者记录,请清空后删除");
|
||||
}
|
||||
aiRecordFolderService.removeById(params.get("id").toString());
|
||||
return R.ok();
|
||||
|
||||
Reference in New Issue
Block a user