From ec23ec3d3dc4ec1ba7d79ba4f46ae2c31d5a16a9 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期三, 07 一月 2026 10:49:10 +0800
Subject: [PATCH] 【市一】调整mapper获取ordid
---
ruoyi-system/src/main/resources/mapper/system/SmsRecordsMapper.xml | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/ruoyi-system/src/main/resources/mapper/system/SmsRecordsMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SmsRecordsMapper.xml
index 5d54eff..a23e8c4 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SmsRecordsMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SmsRecordsMapper.xml
@@ -69,8 +69,9 @@
<select id="selectSmsRecordsList" parameterType="com.ruoyi.system.domain.SmsRecords" resultMap="SmsRecordsResult">
<include refid="selectSmsRecordsVo"/>
- <where>
- del_flag=0
+ WHERE 1=1
+
+ AND del_flag=0
<if test="userid != null and userid != ''">and userid = #{userid}</if>
<if test="username != null and username != ''">and username like concat('%', #{username}, '%')</if>
<if test="phone != null and phone != ''">and phone = #{phone}</if>
@@ -92,9 +93,9 @@
<if test="isupload != null ">and isupload = #{isupload}</if>
<if test="uploadTime != null ">and upload_time = #{uploadTime}</if>
<if test="visitTime != null ">and date_format(visit_time,'%y%m%d') =
- date_format(#{visitTime},'%y%m%d')
+ AND date_format(#{visitTime},'%y%m%d')
</if>
- </where>
+
</select>
<select id="selectSmsRecordsByRecordid" parameterType="Long" resultMap="SmsRecordsResult">
--
Gitblit v1.9.3