ZhuDongming
2019-06-05 2b9c0e19babda8b4828d396bd0c2f97be3a0c0a4
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);
}