package com.sonic.lion.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sonic.lion.domain.entity.ProcessingWithdrawReview;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.time.LocalDateTime;
import java.util.List;

public interface ProcessingWithdrawReviewDao extends BaseMapper<ProcessingWithdrawReview> {

    @Select("select * from t_processing_withdraw_review where create_time < #{date}")
    List<ProcessingWithdrawReview> findAll(@Param("date")LocalDateTime date);
}
