From eca101124f17c62607a007ee34bf1ccd72a3c566 Mon Sep 17 00:00:00 2001
From: 于紫祥_1901 <email@yuzixiang_1910>
Date: Wed, 24 Jun 2020 09:19:22 +0800
Subject: [PATCH] update

---
 src/main/java/com/moral/mapper/DeviceMapper.java |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/moral/mapper/DeviceMapper.java b/src/main/java/com/moral/mapper/DeviceMapper.java
index 0a934e1..90a7ac3 100644
--- a/src/main/java/com/moral/mapper/DeviceMapper.java
+++ b/src/main/java/com/moral/mapper/DeviceMapper.java
@@ -8,6 +8,7 @@
 
 import com.moral.common.mapper.BaseMapper;
 import com.moral.entity.Device;
+
 import tk.mybatis.mapper.entity.Example;
 
 public interface DeviceMapper extends BaseMapper<Device>{
@@ -35,4 +36,19 @@
 	List<Map> countByTimes(@Param("start")Date start,@Param("end")Date end,@Param("format")String format);
 
 	List<Device> getDevicesByProfession(Map<String, Object> parameters);
+
+	List<Device> getDevicesByOrganizationId(Map<String, Object> parameters);
+	List<Map<String, Object>> getDevicesStateByRegion(Map<String, Object> parameters);
+
+	List<Device> getDeviceList(Example example);
+	String getLimitDataByDevice(Map<String, Object> parameters);
+
+    List<String> getMacsByOrganizationId(@Param("organizationIdList") List<Object> organizationIdList);
+
+	List<Device> getDeviceById1(@Param("id") int id);
+
+	//������������������
+	List<Device> getDeviceById2(@Param("id") int id);
+
+	List<Device> getDeviceById3(@Param("id") int id);
 }
\ No newline at end of file

--
Gitblit v1.8.0