#
1
2025-05-09 3ceabb21c1fd2b7fbdbc5c77c23f26152ec7f9aa
src/main/java/com/zy/asrs/mapper/DeviceErrorMapper.java
@@ -3,7 +3,10 @@
import com.zy.asrs.entity.DeviceError;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
@Mapper
@Repository
@@ -13,4 +16,18 @@
    Integer deleteByDeviceAndDeviceId(String device, Integer deviceId);
    List<DeviceError> selectDeviceErrorList(
            @Param("id")Long id,
            @Param("device")String device,
            @Param("deviceId")Integer deviceId,
            @Param("pageNumber")Integer curr,
            @Param("pageSize")Integer limit
    ) ;
    Long selectDeviceErrorListTotal(
            @Param("id")Long id,
            @Param("device")String device,
            @Param("deviceId")Integer deviceId
    ) ;
}