2026-04-27 10:27:57 +08:00
|
|
|
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> {
|
|
|
|
|
|
|
|
|
|
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);
|
2026-04-27 16:25:39 +08:00
|
|
|
}
|