kaiyu
2020-12-15 11bb93e34b91a8ba4c5588dbe907988a1f279859
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 d.state!=4 and mt.city_code=130900
    </select>
</mapper>