فهرست منبع

fix: 模版配置查询status=0时数据过滤失败问题修复

chenjianhua 7 ماه پیش
والد
کامیت
ac10d67542
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      service-base/src/main/resources/mapper/EmailTemplateMappingMapper.xml

+ 2 - 2
service-base/src/main/resources/mapper/EmailTemplateMappingMapper.xml

@@ -65,7 +65,7 @@
         <if test="templateName != null and templateName != ''">
             and t.name like concat('%',#{templateName},'%')
         </if>
-        <if test="status != null and status !=''">
+        <if test="status != null">
             and mapping.status=#{status}
         </if>
         limit #{offset},#{pageSize}
@@ -87,7 +87,7 @@
         <if test="templateName != null and templateName != ''">
             and t.name like concat('%',#{templateName},'%')
         </if>
-        <if test="status != null and status !=''">
+        <if test="status != null">
             and mapping.status=#{status}
         </if>
     </select>