package com.ruoyi.system.mapper; import java.util.List; import org.apache.ibatis.annotations.Param; import com.ruoyi.common.core.domain.entity.SysTimelineSegment; public interface SysTimelineSegmentMapper { public List selectSegmentList(SysTimelineSegment segment); public List selectSegmentListByRoomId(@Param("roomId") Long roomId); public SysTimelineSegment selectSegmentById(Long segmentId); public int insertSegment(SysTimelineSegment segment); public int updateSegment(SysTimelineSegment segment); public int deleteSegmentById(Long segmentId); public int deleteSegmentByRoomId(@Param("roomId") Long roomId); }