From adb33007bf87f63a893f90196a6087f9cafe34c7 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期五, 03 一月 2025 11:40:04 +0800
Subject: [PATCH] 考勤查询条件bug 修复
---
java110-db/src/main/resources/mapper/store/ScheduleClassesV1ServiceDaoImplMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/store/ScheduleClassesV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/store/ScheduleClassesV1ServiceDaoImplMapper.xml
index 1dc57fe..0bc1ca0 100644
--- a/java110-db/src/main/resources/mapper/store/ScheduleClassesV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/store/ScheduleClassesV1ServiceDaoImplMapper.xml
@@ -38,7 +38,7 @@
and t.name= #{name}
</if>
<if test="nameLike !=null and nameLike != ''">
- and t.name like concat('%',#{name},'%')
+ and t.name like concat('%',#{nameLike},'%')
</if>
<if test="remark !=null and remark != ''">
and t.remark= #{remark}
@@ -115,7 +115,7 @@
and t.name= #{name}
</if>
<if test="nameLike !=null and nameLike != ''">
- and t.name like concat('%',#{name},'%')
+ and t.name like concat('%',#{nameLike},'%')
</if>
<if test="remark !=null and remark != ''">
and t.remark= #{remark}
--
Gitblit v1.8.0