fengxiang
2018-06-14 bde2512a915e394ab6f3939833469516c473ee0e
src/main/resources/mapper/HistoryMinutelyMapper.xml
@@ -17,13 +17,11 @@
            (SELECT
               d.mac 
            FROM
               device d,
               monitor_point mp
               device d
            WHERE
               d.is_delete = 0 
               AND d.monitor_point_id = mp.id
               <if test="monitorPointId != null">
               AND mp.id =   #{monitorPointId}
               AND d.monitor_point_id = #{monitorPointId}
               </if>
               <if test="mac != null">
               AND d.mac = #{mac}