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

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

import cn.ezhizao.project.business.upgrade.mapper.BizWorkOrderDetailUpdateMapper;
import cn.ezhizao.project.business.workOrder.domain.BizWorkOrderDetail;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import cn.ezhizao.project.business.upgrade.domain.BizWorkOrderDetailUpdate;
import cn.ezhizao.project.business.upgrade.service.IBizWorkOrderDetailUpdateService;

/**
 * 企业租户Service业务层处理
 *
 * @author ruoyi
 * @date 2024-10-14
 */
@Service
public class BizWorkOrderDetailUpdateServiceImpl  extends ServiceImpl<BizWorkOrderDetailUpdateMapper, BizWorkOrderDetailUpdate> implements IBizWorkOrderDetailUpdateService
{
    @Resource
    private BizWorkOrderDetailUpdateMapper bizWorkOrderDetailUpdateMapper;

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

    /**
     * 物理删除
     * @param bizWorkOrderDetailUpdate
     * @return 删除结果
     */
    @Override
    public int physicalDelete(List<BizWorkOrderDetailUpdate> bizWorkOrderDetailUpdate){ return bizWorkOrderDetailUpdateMapper.physicalDelete(bizWorkOrderDetailUpdate); }

    @Override
    public List<BizWorkOrderDetail> selectByUpgradeId(BizWorkOrderDetail bizWorkOrderDetail) {
        return bizWorkOrderDetailUpdateMapper.selectByUpgradeId(bizWorkOrderDetail);
    }

    ;

}
