gasWellWatch/src/main/java/com/isu/gaswellwatch/dao/DeviceDao.java

24 lines
762 B
Java
Raw Normal View History

2024-11-25 01:04:53 +08:00
package com.isu.gaswellwatch.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.isu.gaswellwatch.entity.Device;
2024-11-25 15:48:00 +08:00
import com.isu.gaswellwatch.vo.DeviceVO;
2024-11-25 01:04:53 +08:00
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
@Mapper
@Repository
public interface DeviceDao extends BaseMapper<Device> {
2024-11-25 15:48:00 +08:00
Page<DeviceVO> page(Page<Object> page,
@Param("gasWellName") String gasWellName,
@Param("gasStationName") String gasStationName,
@Param("deviceTypeId") Long deviceTypeId);
2024-11-25 01:04:53 +08:00
2024-11-25 15:48:00 +08:00
DeviceVO getDeviceById(@Param("id") Long id);
2024-11-25 01:04:53 +08:00
}