| | |
| | | package org.jeecg.modules.mdc.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import org.apache.ibatis.annotations.Delete; |
| | | import org.apache.ibatis.annotations.Insert; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.apache.ibatis.annotations.*; |
| | | 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(" SELECT * INTO ${tableName} 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); |
| | | } |