Kaynağa Gözat

fix: 缺失邮箱发送失败原因排查修复

chenjianhua 5 ay önce
ebeveyn
işleme
0061270386

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

@@ -104,7 +104,7 @@
     </select>
     <select id="getAllCompanyConfig" resultMap="BaseResultMap">
         select id,company_id,company_name,email,open_status,remark from
-            company_email_config where isvalid =1 and open_status=1
+            company_email_config where isvalid =1 and open_status=1 and company_id is not null
     </select>
     <select id="selectCompanyEmailConfigByIdList" resultMap="BaseResultMap">
         select id,company_id,company_name,email,open_status,remark from