package com.gkhy.exam.system.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.gkhy.exam.system.domain.ContractReviewMess; import com.gkhy.exam.system.domain.ContractReviewMessb; import org.apache.ibatis.annotations.Param; import org.mapstruct.Mapper; import java.util.List; @Mapper public interface ContractReviewMessMapper extends BaseMapper { List selectByReviewId(@Param("id") Integer id); void insertMesses(@Param("reviewMesses") List reviewMesses); void deleteByReviewId(@Param("id") Integer id); void updateByUserId(ContractReviewMess contractReviewMess); int CountByReviewId(@Param("id") Integer id); List selectByReviewIdAndUserId(@Param("id") Integer id, @Param("userId") Integer userId); }