From b56c3c0f1bc87935a8b59f6ee39f78b4796250ff Mon Sep 17 00:00:00 2001 From: “djh” <“3298565835@qq.com”> Date: 星期三, 06 十一月 2024 15:01:02 +0800 Subject: [PATCH] 修改前台页面对应的后台效果,新增学习记录的自然时间差 --- ruoyi-file/src/main/java/com/ruoyi/file/service/impl/AttachmentInfoServiceImpl.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/ruoyi-file/src/main/java/com/ruoyi/file/service/impl/AttachmentInfoServiceImpl.java b/ruoyi-file/src/main/java/com/ruoyi/file/service/impl/AttachmentInfoServiceImpl.java index 7f37906..d3d0329 100644 --- a/ruoyi-file/src/main/java/com/ruoyi/file/service/impl/AttachmentInfoServiceImpl.java +++ b/ruoyi-file/src/main/java/com/ruoyi/file/service/impl/AttachmentInfoServiceImpl.java @@ -84,5 +84,12 @@ public void deleteByBusinessId(Long businessId) { attachmentInfoMapper.deleteByBusinessId(businessId); } + + @Override + public List<AttachmentInfo> findByKeys(List<String> keys) { + return attachmentInfoMapper.selectList(new LambdaQueryWrapper<AttachmentInfo>() + .in(AttachmentInfo::getFileKey,keys) + .eq(AttachmentInfo::getDelFlag,0)); + } } -- Gitblit v1.9.2