package com.cftech.invoice.service.impl;

import com.cftech.invoice.model.Invoice;
import com.cftech.invoice.dao.InvoiceMapper;
import com.cftech.invoice.service.InvoiceService;
import com.cftech.core.generic.GenericDao;
import com.cftech.core.generic.GenericServiceImpl;
import com.cftech.core.sql.Conds;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * 开票信息ServiceImpl
 *
 * @author Buyj
 * @date: 2020-11-25 09:32
 */
@Service("invoiceService")
public class InvoiceServiceImpl extends GenericServiceImpl<Invoice> implements InvoiceService {

    @Autowired
    @Qualifier("invoiceMapper")
    private InvoiceMapper invoiceMapper;

    @Override
    public GenericDao<Invoice> getGenericMapper() {
        return invoiceMapper;
    }

}