18 lines
709 B
Java
18 lines
709 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,
|
||
|
|
@Param("reviewComment") String reviewComment,
|
||
|
|
@Param("reviewedAt") LocalDateTime reviewedAt);
|
||
|
|
}
|