于紫祥_1901
2020-06-23 235a2be052544e41cef217920d4e55fee730995e
src/main/java/com/moral/mapper/MonitorPointMapper.java
@@ -3,6 +3,7 @@
import java.util.List;
import java.util.Map;
import com.moral.entity.Device;
import org.apache.ibatis.annotations.Param;
import com.moral.common.mapper.BaseMapper;
@@ -17,4 +18,8 @@
    List<Integer> selectVersionsById(int id);
    Map<String, Object> selectAllById(int id);
    List<Map<String, Object>> getIdByOrganizationId(@Param("organizationIdList") List<Object> organizationIdList);
    //通过monitorPointId获取该公司区域的所有设备
    List<Device> getDeviceList(@Param("id") int id);
    //获取公司信息,通过id
    MonitorPoint getMonitorPointById(@Param("id") int id);
}