| | |
| | | ) |
| | | </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} |