Kaynağa Gözat

BUG修改 修改安防感知重点区域监控查询逻辑

zhouwang 1 hafta önce
ebeveyn
işleme
1989bb5fbb

+ 1 - 1
src/main/java/com/lqkj/info/mapper/EquipmentInfoMapper.java

@@ -65,6 +65,6 @@ public interface EquipmentInfoMapper
65 65
 //    @Select("SELECT * FROM equipment_info ei " +
66 66
 //            "WHERE ei.type_id IN (SELECT et.type_id FROM equipment_type et WHERE et.parent_id = 1)")
67 67
     //只查重点区域监控
68
-    @Select("SELECT * FROM equipment_info WHERE ei.type_id = 5 ")
68
+    @Select("SELECT * FROM equipment_info WHERE type_id = 5 ")
69 69
     List<EquipmentInfo> getAllMonitors();
70 70
 }