package com.javaweb.geo.mapper; import com.javaweb.geo.domain.DeviceLog; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 设备出入库记录Mapper接口 * * @author cxy * @date 2024-05-16 */ public interface DeviceLogMapper { /** * 查询设备出入库记录 * * @param id 设备出入库记录ID * @return 设备出入库记录 */ public DeviceLog selectDeviceLogById(String id); /** * 查询设备出入库记录列表 * * @param deviceLog 设备出入库记录 * @return 设备出入库记录集合 */ public List selectDeviceLogList(DeviceLog deviceLog); /** * 新增设备出入库记录 * * @param deviceLog 设备出入库记录 * @return 结果 */ public int insertDeviceLog(DeviceLog deviceLog); /** * 修改设备出入库记录 * * @param deviceLog 设备出入库记录 * @return 结果 */ public int updateDeviceLog(DeviceLog deviceLog); /** * 删除设备出入库记录 * * @param id 设备出入库记录ID * @return 结果 */ public int deleteDeviceLogById(String id); /** * 批量删除设备出入库记录 * * @param ids 需要删除的数据ID * @return 结果 */ public int deleteDeviceLogByIds(String[] ids); /** * 查询数据库中id最大值 * @return */ Integer selectMaxDeviceLogId(@Param("projectId") String projectId); }