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




import com.neusoft.smart.pos.report.persistent.domain.BusinessGroupExample;
import com.neusoft.smart.pos.report.persistent.domain.BusinessGroupExt;
import com.neusoft.smart.pos.report.persistent.mapper.BusinessGroupMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class BusinessGroupRepository {

    @Autowired
    private BusinessGroupMapper businessGroupMapper ;

    public Integer queryMemberOrderDetailsCount(BusinessGroupExample example){
      return  businessGroupMapper.queryMemberOrderDetailsCount(example);
    }

    public List<BusinessGroupExt> getList(BusinessGroupExample example) {
        return businessGroupMapper.selectBusGroupByExample(example);
    }

}
