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

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

import cn.ezhizao.project.business.history.domain.BizHistory;
import cn.ezhizao.project.business.history.mapper.BizHistoryMapper;
import cn.ezhizao.project.business.history.service.IBizHistoryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * 企业租户Service业务层处理
 *
 * @author ruoyi
 * @date 2024-09-09
 */
@Service
public class BizHistoryServiceImpl extends ServiceImpl<BizHistoryMapper, BizHistory> implements IBizHistoryService {
    @Resource
    private BizHistoryMapper bizHistoryMapper;

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

    /**
     * 物理删除
     *
     * @param bizHistory
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizHistory bizHistory) {
        return bizHistoryMapper.physicalDelete(bizHistory);
    }

    ;

}
