xufenglei
2017-12-04 b28a5002a58d8d0b37082da12e5b218f0951de47
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.moral.mapper;
 
import java.util.List;
import java.util.Map;
 
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import com.moral.common.mapper.BaseMapper;
import com.moral.entity.Device;
import com.moral.entity.DeviceExample;
 
@Mapper
public interface DeviceMapper extends BaseMapper<Device, DeviceExample, Integer>{
 
    List<Map<String, Object>> getDeviceStatesByAccount(Map<String, Object> parameters);
 
    List<Map<String, Object>> getSensorsByDevice(@Param("mac")String mac);
}