From ea1613944a1cb49bd8ac59dc6d0efd6032c9ab8c Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Mon, 01 Apr 2024 14:40:44 +0800
Subject: [PATCH] e呼,用户,住户,房屋,报事报修,场所详情,从业人员等api,通用接口标注

---
 src/main/java/org/springblade/modules/email/mapper/EmailTemplateMapper.xml |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/main/java/org/springblade/modules/email/mapper/EmailTemplateMapper.xml b/src/main/java/org/springblade/modules/email/mapper/EmailTemplateMapper.xml
index 72b6cb5..29c4dcb 100644
--- a/src/main/java/org/springblade/modules/email/mapper/EmailTemplateMapper.xml
+++ b/src/main/java/org/springblade/modules/email/mapper/EmailTemplateMapper.xml
@@ -10,13 +10,13 @@
     <select id="selectEmailTemplatePage" resultMap="emailTemplateResultMap">
         select * from blade_email_template
         <where>
-            <if test="id != null ">and id = #{id}</if>
-            <if test="title != null  and title != ''">and title like CONCAT('%', #{title},'%')</if>
-            <if test="content != null  and content != ''">and content = #{content}</if>
-            <if test="createTime != null ">and create_time = #{createTime}</if>
-            <if test="updateTime != null ">and update_time = #{updateTime}</if>
-            <if test="isDeleted != null ">and is_deleted = #{isDeleted}</if>
-            <if test="createBy != null ">and create_by = #{createBy}</if>
+            <if test="emailTemplate.id != null ">and id = #{emailTemplate.id}</if>
+            <if test="emailTemplate.title != null  and emailTemplate.title != ''">and title like CONCAT('%', #{emailTemplate.title},'%')</if>
+            <if test="emailTemplate.content != null  and emailTemplate.content != ''">and content = #{emailTemplate.content}</if>
+            <if test="emailTemplate.createTime != null ">and create_time = #{emailTemplate.createTime}</if>
+            <if test="emailTemplate.updateTime != null ">and update_time = #{emailTemplate.updateTime}</if>
+            <if test="emailTemplate.isDeleted != null ">and is_deleted = #{emailTemplate.isDeleted}</if>
+            <if test="emailTemplate.createBy != null ">and create_by = #{emailTemplate.createBy}</if>
             and is_deleted = 0
         </where>
     </select>

--
Gitblit v1.9.3