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



import com.neusoft.smart.pos.report.persistent.domain.RefundRecordExample;
import com.neusoft.smart.pos.report.persistent.domain.RefundRecordExt;
import com.neusoft.smart.pos.report.persistent.mapper.RefundRecordMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class RefundRecordRepository {

    @Autowired
    private RefundRecordMapper refundRecordMapper ;

    public Integer queryMemberOrderDetailsCount(RefundRecordExample example){
        return refundRecordMapper.queryMemberOrderDetailsCount(example);
    }

    public  List<RefundRecordExt>getList(RefundRecordExample example) {
        return refundRecordMapper.selectRefundByExample(example);
    }

}
