| | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.device.dto.DeviceDto; |
| | | import com.ruoyi.device.pojo.Device; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | |
| | | /** |
| | | * 设备(Device)表数据库访问层 |
| | | */ |
| | | @Mapper |
| | | public interface DeviceMapper extends BaseMapper<Device> { |
| | | |
| | | IPage<Device> selectDeviceParameter(Page page, QueryWrapper<Device> ew); |
| | |
| | | List<Map<String, Object>> treeDevice(@Param("deviceName") String deviceName); |
| | | |
| | | DeviceDto selectDeviceByCode(Integer id); |
| | | |
| | | /** |
| | | * 查询到达校准有效期的设备-提前5天 |
| | | * @return |
| | | */ |
| | | List<Device> selectOverdueDevice(); |
| | | } |
| | | |