package cn.ezhizao.project.business.invoice.service.impl;

import java.util.List;
import javax.annotation.Resource;

import cn.ezhizao.project.business.invoice.domain.BizInvoice;
import cn.ezhizao.project.business.invoice.mapper.BizInvoiceMapper;
import cn.ezhizao.project.business.invoice.service.IBizInvoiceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * 企业租户Service业务层处理
 *
 * @author ruoyi
 * @date 2024-08-23
 */
@Service
public class BizInvoiceServiceImpl  extends ServiceImpl<BizInvoiceMapper, BizInvoice> implements IBizInvoiceService
{
    @Resource
    private BizInvoiceMapper bizInvoiceMapper;

    /**
     * 查询企业租户列表
     *
     * @param bizInvoice 企业租户
     * @return 企业租户
     */
    @Override
    public List<BizInvoice> getList(BizInvoice bizInvoice)
    {
        return bizInvoiceMapper.getList(bizInvoice);
    }

    /**
     * 物理删除
     * @param bizInvoice
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizInvoice bizInvoice){ return bizInvoiceMapper.physicalDelete(bizInvoice); };

}
