From d8310f6bc609440fa352c0e5a9436c7c78caa287 Mon Sep 17 00:00:00 2001 From: lizijie <lzjiiie@163.com> Date: Mon, 29 Nov 2021 11:09:48 +0800 Subject: [PATCH] Merge branch 'master' of http://blit.7drlb.com:8888/r/screen_job --- src/main/resources/mapper/HistoryHourlyMapper.xml | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/HistoryHourlyMapper.xml b/src/main/resources/mapper/HistoryHourlyMapper.xml index 04e408d..169573f 100644 --- a/src/main/resources/mapper/HistoryHourlyMapper.xml +++ b/src/main/resources/mapper/HistoryHourlyMapper.xml @@ -102,4 +102,12 @@ AND `time` >= #{start} AND `time` <![CDATA[<]]> #{end} </select> + + <select id="selectDataByMac" resultType="java.lang.String"> + select + json + from history_hourly + where mac = #{mac} + and `time` = #{time} + </select> </mapper> \ No newline at end of file -- Gitblit v1.8.0