From c1ef2d1fc4c0dae2bc8452924dcd77a0ff3a1ef5 Mon Sep 17 00:00:00 2001 From: cpT <1@123> Date: 星期四, 19 六月 2025 15:02:52 +0800 Subject: [PATCH] #改造 --- src/main/java/com/zy/asrs/mapper/DeviceErrorMapper.java | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/mapper/DeviceErrorMapper.java b/src/main/java/com/zy/asrs/mapper/DeviceErrorMapper.java index 639e551..6c843be 100644 --- a/src/main/java/com/zy/asrs/mapper/DeviceErrorMapper.java +++ b/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 + ) ; + } -- Gitblit v1.9.1