| | |
| | | @DS("iotdb") |
| | | @InterceptorIgnore(tenantLine = FmsConstant.AUTOMATIC) |
| | | public interface SuperProcessParameterMapper { |
| | | //这个在ProcessParameterService中实现了,mp对此有bug |
| | | //这个在ProcessParameterService中实现了,mybatisplus对此有bug |
| | | //List<WorkstationCollectData> queryLastParameter(@Param("workstationId") String workstationId); |
| | | /** |
| | | * 查询工位最新参数,yys增加,可能需要使用queryLastParameter了(如果没问题) |
| | |
| | | //ProcessParameterVO oldLastStatue(@Param("workstationId") String workstationId, @Param("item") String item, @Param("endTime") Long endTime); |
| | | //LastProcessParam lastParameterGreaterThanTime(@Param("workstationId") Long workstationId, @Param("item") String item, @Param("endTime") Long endTime); |
| | | |
| | | /** |
| | | * 获取一个采集参数不等于某值的最后一条 |
| | | * @param workstationId 工位id |
| | | * @param item 参数名称 |
| | | * @param value 值 |
| | | * @return |
| | | */ |
| | | ProcessParameterVO lastParameterNotEqValue(@Param("workstationId") Long workstationId,@Param("item")String item,@Param("value")String value); |
| | | |
| | | |
| | | ProcessParameterVO firstParameterEqValueGtTime(@Param("workstationId") Long workstationId,@Param("item")String item,@Param("value")String value,@Param("time")long time); |
| | | /** |
| | | * 获取一个采集参数等于某值的最早一条 |
| | | * @param workstationId |
| | | * @param item |
| | | * @param value |
| | | * @return |
| | | */ |
| | | ProcessParameterVO firstParameterEqValue(@Param("workstationId") Long workstationId,@Param("item")String item,@Param("value")String value); |
| | | |
| | | } |