From 4f78db00a0aa292655e216c507589df8dd65d7b7 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期三, 12 十一月 2025 17:10:41 +0800
Subject: [PATCH] 管理后台导入,问卷调查
---
ruoyi-system/src/main/resources/mapper/system/TAssistedDiningMapper.xml | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/ruoyi-system/src/main/resources/mapper/system/TAssistedDiningMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TAssistedDiningMapper.xml
index 2c124ca..14fc993 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TAssistedDiningMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TAssistedDiningMapper.xml
@@ -23,13 +23,15 @@
</sql>
<select id="pageList" resultType="com.ruoyi.system.model.TAssistedDining">
select t1.* from t_assisted_dining t1
- <if test="query.pointName != null and query.pointName != ''">
- and t1.point_name like concat('%',#{query.pointName},'%')
- </if>
- <if test="query.pointPhone != null and query.pointPhone != ''">
- and t1.point_phone like concat('%',#{query.pointPhone},'%')
- </if>
+ <where>
+ <if test="query.pointName != null and query.pointName != ''">
+ and t1.point_name like concat('%',#{query.pointName},'%')
+ </if>
+ <if test="query.pointPhone != null and query.pointPhone != ''">
+ and t1.point_phone like concat('%',#{query.pointPhone},'%')
+ </if>
AND t1.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
+ </where>
order by t1.create_time desc
</select>
--
Gitblit v1.7.1