于紫祥_1901
2020-11-11 8d3e4f4b795f44e6d59facb11d7fc0918376f4f2
src/main/resources/mapper/DeviceMapper.xml
@@ -574,4 +574,7 @@
        select * from device
        where mac like concat('%',#{macOrName},'%')
    </select>
    <select id="getDeviceByCityCode" resultType="com.moral.entity.Device">
        SELECT d.* FROM `monitor_point` mt,device d where d.monitor_point_id=mt.id and mt.city_code=130900
    </select>
</mapper>