package com.ruoyi.web.work.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.web.work.domain.StatementDetail;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author lsw
 * @date 2024-04-20
 */
public interface StatementDetailMapper extends BaseMapper<StatementDetail> {
    List<StatementDetail> selectList(StatementDetail statementDetail);


    @Select("SELECT * FROM tb_statement_detail WHERE id_card=#{idCard} AND statement_id=#{statementId}")
    StatementDetail check(StatementDetail statementDetail);
}
