package cn.ezhizao.project.business.ticketReport.mapper;

import cn.ezhizao.project.business.keepAccounts.domain.BizFinancialKeepAccount;
import cn.ezhizao.project.business.ticketReport.domain.BizFinancialTicketReportDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;
@Mapper
public interface BizFinancialTicketReportDetailMapper extends BaseMapper<BizFinancialTicketReportDetail> {

    /**
     * 带条件的查询
     *
     * @param conditions 条件
     * @return List 集合
     */
    List<BizFinancialTicketReportDetail> getList(BizFinancialTicketReportDetail conditions);

    /**
     * 带条件的查询总数
     *
     * @param conditions 条件
     * @return int 查询总数量
     */
    Integer getTotal(Map<String, Object> conditions);

    /**
     * 带条件的查询
     *
     * @param conditions 条件
     * @return List 集合
     */
    List<BizFinancialKeepAccount> getMainList(BizFinancialKeepAccount conditions);

    /**
     * 带条件的查询总数
     *
     * @param conditions 条件
     * @return int 查询总数量
     */
    Integer getMainTotal(Map<String, Object> conditions);
}
