package com.jkcredit.invoice.mapper.calculateInfor;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jkcredit.invoice.model.entity.Calculate.NoCarCalculateInfor;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NoCarCalculateInforMapper extends BaseMapper<NoCarCalculateInfor> {
    IPage<List<NoCarCalculateInfor>> selectAllByPage(Page page, @Param("calculateInfor") NoCarCalculateInfor calculateInfor);

    int insert(NoCarCalculateInfor record);

    NoCarCalculateInfor selectByTradeId(String tradeId);
}
