From f05383c46370ec8c4f4b8b8165ffab3769dd06a2 Mon Sep 17 00:00:00 2001 From: jinpengyong <jpy123456> Date: Wed, 19 Jun 2024 14:19:09 +0800 Subject: [PATCH] fix:路段定时任务提交 --- screen-job/src/main/resources/mapper/DeviceMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/screen-job/src/main/resources/mapper/DeviceMapper.xml b/screen-job/src/main/resources/mapper/DeviceMapper.xml index 762cfa8..359ec1b 100644 --- a/screen-job/src/main/resources/mapper/DeviceMapper.xml +++ b/screen-job/src/main/resources/mapper/DeviceMapper.xml @@ -42,7 +42,7 @@ cast( t1.`value` -> '$.a99054' AS DOUBLE ) AS a99054 FROM device t - LEFT JOIN history_minutely_202401 t1 ON t1.mac = t.mac + LEFT JOIN history_minutely_${mon} t1 ON t1.mac = t.mac WHERE t.organization_id = #{id} AND date(t1.time) <![CDATA[=]]> #{startTime} -- Gitblit v1.8.0