From b9fd2657a3d528881e4d1f7cae12ca8e2d63951a Mon Sep 17 00:00:00 2001 From: cjl <276999030@qq.com> Date: Wed, 30 Aug 2023 09:33:31 +0800 Subject: [PATCH] fix:补充提交 --- screen-api/src/main/resources/mapper/HistorySecondCruiserMapper.xml | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/screen-api/src/main/resources/mapper/HistorySecondCruiserMapper.xml b/screen-api/src/main/resources/mapper/HistorySecondCruiserMapper.xml index 2f52e18..441d95e 100644 --- a/screen-api/src/main/resources/mapper/HistorySecondCruiserMapper.xml +++ b/screen-api/src/main/resources/mapper/HistorySecondCruiserMapper.xml @@ -57,4 +57,14 @@ AND `time` <![CDATA[>=]]> #{start} AND `time` <![CDATA[<=]]> #{end} </select> + + + <select id="getAllCruiserData" resultType="java.util.Map"> + SELECT + `value` + FROM `history_second_cruiser` + WHERE mac = #{mac} + AND `time` <![CDATA[>=]]> #{time1} + AND `time` <![CDATA[<=]]> #{time2} + </select> </mapper> \ No newline at end of file -- Gitblit v1.8.0