ZhuDongming
2020-06-30 a9c3fe66d59c504a18f6a8d0f639be99a68fb7d6
src/main/java/com/moral/mapper/MonitorPointMapper.java
@@ -2,6 +2,10 @@
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;
import com.moral.entity.MonitorPoint;
import tk.mybatis.mapper.entity.Example;
@@ -13,4 +17,9 @@
    List<Integer> selectOrganizationIds(int id);
    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);
}