From ced4280cd5df612c29a81db8abd8a2a7a0a2a9e9 Mon Sep 17 00:00:00 2001
From: maven <2163098428@qq.com>
Date: 星期五, 20 三月 2026 09:42:38 +0800
Subject: [PATCH] yys 修改员工查询
---
src/main/resources/mapper/staff/StaffJoinLeaveRecordMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/mapper/staff/StaffJoinLeaveRecordMapper.xml b/src/main/resources/mapper/staff/StaffJoinLeaveRecordMapper.xml
index 41ccd83..e9564cd 100644
--- a/src/main/resources/mapper/staff/StaffJoinLeaveRecordMapper.xml
+++ b/src/main/resources/mapper/staff/StaffJoinLeaveRecordMapper.xml
@@ -12,8 +12,8 @@
<if test="staffJoinLeaveRecord.staffName != null and staffJoinLeaveRecord.staffName != '' ">
AND t1.staff_name LIKE CONCAT('%',#{staffJoinLeaveRecord.staffName},'%')
</if>
- <if test="staffOnJob.deptPositionId != null">
- AND t1.dept_position_id = #{staffOnJob.deptPositionId}
+ <if test="staffJoinLeaveRecord.deptPositionId != null">
+ AND t1.dept_position_id = #{staffJoinLeaveRecord.deptPositionId}
</if>
<if test="staffJoinLeaveRecord.entryDateStart != null and staffJoinLeaveRecord.entryDateStart != '' ">
and t1.contract_start_time like concat('%',#{staffJoinLeaveRecord.entryDateStart},'%')
--
Gitblit v1.9.3