|
|
@@ -14,6 +14,7 @@ import com.iformall.utils.DateUtils; |
|
|
import org.slf4j.Logger; |
|
|
import org.slf4j.Logger; |
|
|
import org.slf4j.LoggerFactory; |
|
|
import org.slf4j.LoggerFactory; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
|
import org.springframework.context.annotation.Lazy; |
|
|
import org.springframework.scheduling.annotation.Async; |
|
|
import org.springframework.scheduling.annotation.Async; |
|
|
import org.springframework.scheduling.annotation.Scheduled; |
|
|
import org.springframework.scheduling.annotation.Scheduled; |
|
|
import org.springframework.stereotype.Component; |
|
|
import org.springframework.stereotype.Component; |
|
|
@@ -31,6 +32,7 @@ public class MsgSendingSchedule { |
|
|
private WxMsgMapper wxMsgMapper; |
|
|
private WxMsgMapper wxMsgMapper; |
|
|
@Autowired |
|
|
@Autowired |
|
|
private MqBaseProducer mqBaseProducer; |
|
|
private MqBaseProducer mqBaseProducer; |
|
|
|
|
|
@Lazy |
|
|
@Autowired |
|
|
@Autowired |
|
|
private WxMsgService WxMsgService; |
|
|
private WxMsgService WxMsgService; |
|
|
|
|
|
|
|
|
|