From fe82f1f9a9be911d1420fe3b018ea85dd5fff1a3 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期四, 21 十一月 2024 21:22:58 +0800
Subject: [PATCH] 代码整理
---
collect/src/main/resources/com/qianwen/mdc/collect/mapper/iotdb/DeviceStateMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/collect/src/main/resources/com/qianwen/mdc/collect/mapper/iotdb/DeviceStateMapper.xml b/collect/src/main/resources/com/qianwen/mdc/collect/mapper/iotdb/DeviceStateMapper.xml
index 0c357b7..668b060 100644
--- a/collect/src/main/resources/com/qianwen/mdc/collect/mapper/iotdb/DeviceStateMapper.xml
+++ b/collect/src/main/resources/com/qianwen/mdc/collect/mapper/iotdb/DeviceStateMapper.xml
@@ -73,13 +73,13 @@
</sql>
<!-- resultType="com.qianwen.mdc.collect.entity.iotdb.DeviceState" -->
<select id="lastSyncedNoFeedbackPointState" resultMap="BaseResultMap">
- select <include refid="all_columns" /> FROM root.f2.aggregate_state_${workstationId}
+ select <include refid="all_columns" /> FROM root.f2.state_${workstationId}
where is_sync=true and is_fix_point=false and feedback_point_type=0 and is_deleted=false
order by time desc limit 1
</select>
<select id="firstNotSyncedNofeedbackPointState" resultMap="BaseResultMap">
- select <include refid="all_columns" /> FROM root.f2.aggregate_state_${workstationId}
+ select <include refid="all_columns" /> FROM root.f2.state_${workstationId}
where is_sync=false and is_fix_point=false and feedback_point_type=0 and is_deleted=false
order by time asc limit 1
</select>
--
Gitblit v1.9.3