Browse Source

增加消息回写开关

tags/24080901
WendyYang 6 months ago
parent
commit
50859624fb
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/meeting/task/MsgCallReplyRewriteTask.java

+ 2
- 1
hz-pm-api/src/main/java/com/hz/pm/api/meeting/task/MsgCallReplyRewriteTask.java View File

@@ -16,8 +16,8 @@ import com.hz.pm.api.sys.model.entity.MsgCallRecord.SendStatus;
import com.hz.pm.api.sys.model.enumeration.SubmitTypeEnum;
import com.hz.pm.api.sys.service.IMsgCallRecordService;
import com.ningdatech.basic.util.CollUtils;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
import org.springframework.stereotype.Component;
@@ -40,6 +40,7 @@ import static com.hz.pm.api.external.MobileCallClient.ReplyCallDTO;
*/
@Slf4j
@Component
@ConditionalOnProperty(prefix = "msg-call-reply-write", value = "open", havingValue = "true", matchIfMissing = true)
public class MsgCallReplyRewriteTask {

private static final ThreadPoolTaskExecutor EXECUTOR;


Loading…
Cancel
Save