| | |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.jeecg.modules.mdc.entity.Equipment; |
| | | import org.jeecg.modules.mdc.vo.WsEquipmentStatus; |
| | | import org.jeecg.modules.mdc.vo.WsEquipmentUtilizationRate; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @Description: 采集设备表 |
| | |
| | | |
| | | @Insert(" CREATE TABLE ${tableName} AS SELECT * FROM ${lastTableName} WHERE CollectTime < '${date}' ") |
| | | void insertNoTableData(@Param("tableName") String tableName, @Param("lastTableName") String lastTableName, @Param("date") String date); |
| | | |
| | | List<WsEquipmentStatus> selectEquipmentStatus(); |
| | | |
| | | List<WsEquipmentUtilizationRate> selectEquipmentRate(@Param("date") String date); |
| | | |
| | | String selectOee(@Param("equipmentId") String equipmentId, @Param("date") String date); |
| | | } |