| | |
| | | * 最后一个不是指定值的数据 |
| | | * @param workstationId 工位id |
| | | * @param value 指定值 |
| | | * @param beforeTime 在指定时间之前 |
| | | * @return 状态记录 |
| | | */ |
| | | StateVO lastStateNotEqValue(@Param("workstationId")long workstationId, @Param("value")Integer value); |
| | | StateVO lastStateNotEqValueLtTime(@Param("workstationId")long workstationId, @Param("value")Integer value,@Param("beforeTime")long beforeTime); |
| | | |
| | | /** |
| | | * 查询大于指定时间第一个状态值 |
| | | * @param workstationId 工位id |
| | | * @param value 指定值 |
| | | * @param time 时间戳(大于该时间的数据) |
| | | * @return 状态数据对象 |
| | | */ |
| | | StateVO firstStateEqValueGtTime(@Param("workstationId")long workstationId, @Param("value")Integer value, @Param("time")Long time); |
| | | |
| | | StateVO firstStateEqValue(@Param("workstationId")long workstationId, @Param("value")Integer value); |