Ver código fonte

fix: 公司邮箱模块bug修复,涉及邮箱状态调整

chenjianhua 7 meses atrás
pai
commit
1713622097

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

@@ -33,7 +33,7 @@
             <if test="companyId != null and companyId != ''">company_id=#{companyId},</if>
             <if test="companyName != null and companyName != ''">company_name=#{companyName},</if>
             <if test="email != null and email != ''">email=#{email},</if>
-            <if test="openStatus != null and openStatus != ''">open_status=#{openStatus},</if>
+            <if test="openStatus != null">open_status=#{openStatus},</if>
             <if test="remark != null and remark != ''">remark=#{remark},</if>
             <if test="updaterId != null and updaterId != ''">updaterid=#{updaterId},</if>
             <if test="updateTime != null">updatetime=#{updateTime},</if>
@@ -98,7 +98,7 @@
         select id,company_id,company_name,email,open_status,remark from
             PPW_EMAIL.company_email_config where isvalid =1 and company_id=#{companyId}
     </select>
-    <select id="selectEmailConfig"  resultMap="BaseVOMap">
+    <select id="selectEmailConfig"  resultMap="BaseResultMap">
         select id,company_id,company_name,email,open_status,remark from
             PPW_EMAIL.company_email_config where isvalid =1 and company_id=#{companyId} and email=#{email}
     </select>