ZhuDongming
2020-04-13 14753bc669a106315717f0f4a70bf2bf5c3e8995
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,12 @@
   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);
}