于紫祥_1901
2020-09-11 09481f2ba5a3f41d22349193dae468ff53e6c582
src/main/resources/mapper/DeviceMapper.xml
@@ -514,12 +514,12 @@
)
   </select>
   <select id="getDeviceListByMonitorPointIds" resultType="com.moral.entity.Device">
      select * from device where monitor_point_id in
      <foreach  item="item" collection="list" index="index"  open="(" separator="," close=")">#{item}</foreach>
   </select>
    <select id="getDeviceListByMonitorPointIds" resultType="com.moral.entity.Device">
        select * from device where monitor_point_id in
        <foreach item="item" collection="list" index="index" open="(" separator="," close=")">#{item}</foreach>
    </select>
   <select id="selectAllFieldByMac" resultType="java.util.Map">
    <select id="selectAllFieldByMac" resultType="java.util.Map">
         SELECT *
         FROM device
         WHERE mac = #{mac}