fix: 设备最后上数时间,新增字段,接口调用,小程序显示。
This commit is contained in:
@@ -111,4 +111,13 @@
|
||||
</choose>
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="getLatestReportTime" resultType="com.intc.tdengine.domain.DeviceSensorData">
|
||||
SELECT
|
||||
`time`,
|
||||
createTime
|
||||
FROM `fishery`.`t_${serialNum}`
|
||||
ORDER BY `time` DESC
|
||||
LIMIT 1
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user