| | |
| | | ORDER BY |
| | | s.id |
| | | </select> |
| | | <select id="getDeviceVersionIdByMonitorPoint" resultType="map"> |
| | | <select id="getDeviceVersionIdByMonitorPoint" resultType="java.util.Map"> |
| | | SELECT |
| | | device_version_id deviceVersionId |
| | | FROM |
| | |
| | | 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 |
| | |
| | | </foreach> |
| | | </if> |
| | | </select> |
| | | <select id="getDeviceMacByMonitorPointAndDeviceVersion" resultType="string"> |
| | | <select id="getDeviceMacByMonitorPointAndDeviceVersion" resultType="java.lang.String"> |
| | | SELECT |
| | | mac |
| | | FROM |