fengxiang
2018-05-15 781c9724dac7d3698161ecb845e55ba1800b8ec1
src/main/resources/mapper/DeviceMapper.xml
@@ -131,7 +131,7 @@
      ORDER BY
         s.id
   </select>
   <select id="getDeviceVersionIdByMonitorPoint" resultType="map">
   <select id="getDeviceVersionIdByMonitorPoint" resultType="java.util.Map">
      SELECT
         device_version_id deviceVersionId
      FROM
@@ -141,7 +141,7 @@
      GROUP BY
         device_version_id
   </select>
   <select id="getDeviceVersionIdByAreaCode" resultType="int">
   <select id="getDeviceVersionIdByAreaCode" resultType="java.lang.Integer">
      SELECT DISTINCT
         d.device_version_id 
      FROM
@@ -157,7 +157,7 @@
         </foreach>
      </if>
   </select>
   <select id="getDeviceMacByMonitorPointAndDeviceVersion" resultType="string">
   <select id="getDeviceMacByMonitorPointAndDeviceVersion" resultType="java.lang.String">
      SELECT
         mac
      FROM