ZhuDongming
2019-06-12 9009798abd7abfd726bcda80267c7d53dd3b8da3
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,10 @@
   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);
}