From dd121344f607216a46c2d3836bb4ba47943b9981 Mon Sep 17 00:00:00 2001
From: yaowanxin <3588231647@qq.com>
Date: 星期三, 21 一月 2026 17:49:21 +0800
Subject: [PATCH] 在入职管理、离职管理和用印管理中新增附件上传功能

---
 src/main/resources/mapper/staff/StaffJoinLeaveRecordFileMapper.xml |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/staff/StaffJoinLeaveRecordFileMapper.xml b/src/main/resources/mapper/staff/StaffJoinLeaveRecordFileMapper.xml
new file mode 100644
index 0000000..de4f42a
--- /dev/null
+++ b/src/main/resources/mapper/staff/StaffJoinLeaveRecordFileMapper.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.staff.mapper.StaffJoinLeaveRecordFileMapper">
+
+
+    <select id="listPage" resultType="com.ruoyi.staff.pojo.StaffJoinLeaveRecordFile">
+        select * from staff_join_leave_record_file
+        <where>
+        1=1
+            <if test="ew.staffJoinLeaveRecordId != null">
+                and staff_join_leave_record_id = #{ew.staffJoinLeaveRecordId}
+            </if>
+        </where>
+    </select>
+</mapper>
\ No newline at end of file

--
Gitblit v1.9.3