From df71dc63663ffcc50a6f78bcc5f16ca033aaab53 Mon Sep 17 00:00:00 2001
From: heheng <heheng@123456>
Date: 星期三, 22 一月 2025 13:40:54 +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