package com.neusoft.smart.pos.report.persistent.repository;




import com.neusoft.smart.pos.report.persistent.domain.RechargeRecordExample;
import com.neusoft.smart.pos.report.persistent.domain.RechargeRecordExt;
import com.neusoft.smart.pos.report.persistent.mapper.RechargeRecordMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;


@Component
public class RechargeRecordRepository {

    @Autowired
    private RechargeRecordMapper rechargeRecordMapper;

    public List<RechargeRecordExt> getList(RechargeRecordExample example) {
        return rechargeRecordMapper.selectByExample(example);
    }
    public Integer queryMemberOrderDetailsCount(RechargeRecordExample example){
        return rechargeRecordMapper.queryMemberOrderDetailsCount(example);
    }

}
