zoujiajian 2 년 전
부모
커밋
c5c8a22256
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      netflix-service/src/main/java/com/cyksj/service/corp/impl/CorpEventActionServiceImpl.java

+ 1 - 1
netflix-service/src/main/java/com/cyksj/service/corp/impl/CorpEventActionServiceImpl.java

@@ -687,7 +687,7 @@ public class CorpEventActionServiceImpl implements CorpEventActionService {
 					String welcomeContent = corpFollowActiveCode.getText();
 					String attachmentsStr = corpFollowActiveCode.getAttachmentsStr();
 					//发送对应欢迎语
-					if (StrUtil.isNotBlank(welcomeContent) || StrUtil.isNotBlank(attachmentsStr)) {
+					if (StrUtil.isNotBlank(welcomeContent) && StrUtil.isNotBlank(attachmentsStr)) {
 						THREAD_POOL.execute(() -> {
 							sendCorpFollowActiveCode(message, welcomeContent, attachmentsStr);
 						});