我的mapping结构如上,insertDate是按照5s一次存储的。我想如何根据deviceId 和 paramCode作为条件去里面查询,10s间隔、20s间隔、1min间隔的数据,并且按照insertDate排序,分页查询?