package com.labelsys.backend.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.labelsys.backend.entity.AnnotationResult; import java.time.LocalDateTime; import org.apache.ibatis.annotations.Param; public interface AnnotationResultMapper extends BaseMapper { AnnotationResult findActiveByIdAndCompanyId(@Param("id") Long id, @Param("companyId") Long companyId); int markArchived(@Param("id") Long id, @Param("companyId") Long companyId, @Param("reviewerId") Long reviewerId, @Param("reviewComment") String reviewComment, @Param("reviewedAt") LocalDateTime reviewedAt); }