[fix]:code review

This commit is contained in:
alwayssuper
2025-01-24 15:56:01 +08:00
parent 4f962bd1f7
commit 03d4f60e80
10 changed files with 138 additions and 13 deletions

View File

@@ -76,8 +76,14 @@
</select>
<!-- 检查设备日志超级表是否存在 -->
<select id="checkDeviceLogTableExists" resultType="Object">
<select id="checkDeviceLogSTableExists" resultType="Object">
SHOW STABLES LIKE 'device_log'
</select>
<!-- 检查设备日志子表是否存在 -->
<select id="checkDeviceLogTableExists" resultType="Object">
SHOW TABLES LIKE 'device_log_${deviceKey}'
</select>
</mapper>