|
|
@@ -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; |
|
|
|