于紫祥_1901
2020-11-11 29a0417eb3b695df5502d1cf055f4740f1fdcd9f
src/main/resources/mapper/DeviceMapper.xml
@@ -575,6 +575,6 @@
        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 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>