浏览代码

fix: 公司邮箱状态切换不生效问题修复

chenjianhua 7 月之前
父节点
当前提交
17e6e1eff1
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      service-base/src/main/resources/mapper/CompanyEmailConfigMapper.xml

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

@@ -6,7 +6,7 @@
         <if test="companyId != null and companyId != ''">company_id,</if>
         <if test="companyId != null and companyId != ''">company_id,</if>
         <if test="companyName != null and companyName != ''">company_name,</if>
         <if test="companyName != null and companyName != ''">company_name,</if>
         <if test="email != null and email != ''">email,</if>
         <if test="email != null and email != ''">email,</if>
-        <if test="openStatus != null and openStatus != ''">open_status,</if>
+        <if test="openStatus != null">open_status,</if>
         <if test="remark != null and remark != ''">remark,</if>
         <if test="remark != null and remark != ''">remark,</if>
         <if test="creatorId != null and creatorId != ''">creatorid,</if>
         <if test="creatorId != null and creatorId != ''">creatorid,</if>
         <if test="updaterId != null and updaterId != ''">updaterId,</if>
         <if test="updaterId != null and updaterId != ''">updaterId,</if>
@@ -17,7 +17,7 @@
         <if test="companyId != null and companyId != ''">#{companyId},</if>
         <if test="companyId != null and companyId != ''">#{companyId},</if>
         <if test="companyName != null and companyName != ''">#{companyName},</if>
         <if test="companyName != null and companyName != ''">#{companyName},</if>
         <if test="email != null and email != ''">#{email},</if>
         <if test="email != null and email != ''">#{email},</if>
-        <if test="openStatus != null and openStatus != ''">#{openStatus},</if>
+        <if test="openStatus != null">#{openStatus},</if>
         <if test="remark != null and remark != ''">#{remark},</if>
         <if test="remark != null and remark != ''">#{remark},</if>
         <if test="creatorId != null and creatorId != ''">#{creatorId},</if>
         <if test="creatorId != null and creatorId != ''">#{creatorId},</if>
         <if test="updaterId != null and updaterId != ''">#{updaterId},</if>
         <if test="updaterId != null and updaterId != ''">#{updaterId},</if>