15 lines
573 B
Java
15 lines
573 B
Java
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);
|
|
} |