package shop.alien.mapper.second;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import shop.alien.entity.second.vo.SecondUserViolationDetailVo;
import shop.alien.entity.second.vo.SecondUserViolationVo;


/**
 * 二手交易举报
 */
public interface SecondUserViolationMapper extends BaseMapper<SecondUserViolationVo> {

    IPage<SecondUserViolationVo> getUserViolationByPage(IPage<SecondUserViolationVo> page, @Param("reportingUserName") String reportingUserName,
                                                        @Param("reportingDate") String reportingDate, @Param("processingStatus") String processingStatus,
                                                        @Param("reportContextType") String reportContextType);

    SecondUserViolationDetailVo getUserViolationInfo(@Param("id") Integer id);


    SecondUserViolationDetailVo getUserViolationDetailInfo(@Param("id") Integer id);
}