沙钢智慧能源系统后端代码
dengzedong
2025-01-18 4d505e3fe809c245400ecdb80918cbdb8da80e25
shasteel-biz/src/main/java/com/iailab/module/shasteel/mq/consumer/ModelElecPredictFinishConsumer.java
@@ -6,7 +6,7 @@
import com.iailab.module.model.api.mdk.dto.MdkScheduleReqDTO;
import com.iailab.module.model.enums.ScheduleTriggerMethodEnum;
import com.iailab.module.shasteel.mq.common.constant.CommonConstant;
import com.iailab.module.shasteel.mq.config.QueueElecPredictFinishConfig;
import com.iailab.module.shasteel.mq.config.QueuePredictFinishConfig;
import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.core.Message;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
@@ -37,7 +37,7 @@
     *
     * @param message
     */
    @RabbitListener(queues = QueueElecPredictFinishConfig.QUEUE_NAME)
    @RabbitListener(queues = QueuePredictFinishConfig.QUEUE_NAME_ELEC)
    public void listen(Message message) {
        String messageBody = new String(message.getBody());
        log.info("开始执行电力调度,messageBody:" + messageBody);