From e36d33b5789cc098898af42fdce6cab057db3cc6 Mon Sep 17 00:00:00 2001
From: jinpengyong <jpy123456>
Date: Thu, 06 Aug 2020 16:33:57 +0800
Subject: [PATCH] update

---
 src/main/resources/mapper/HistoryHourlyMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/HistoryHourlyMapper.xml b/src/main/resources/mapper/HistoryHourlyMapper.xml
index fc16813..aa83d96 100644
--- a/src/main/resources/mapper/HistoryHourlyMapper.xml
+++ b/src/main/resources/mapper/HistoryHourlyMapper.xml
@@ -68,7 +68,7 @@
     <select id="getBeamByMacs" resultType="java.util.Map">
         SELECT
         DATE_FORMAT(h.time,'%Y-%m-%d %H:%i:%s') time,
-        round(avg(h.json->'$.e12[0]'),0) beam
+        avg(h.json->'$.e12[0]') beam
         FROM history_hourly h
         WHERE h.mac in
         <foreach  item="item" collection="macs" index="index"  open="(" separator="," close=")">#{item}</foreach>

--
Gitblit v1.8.0