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.order.domain.BizArchiveInputDetail;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import cn.ezhizao.project.business.upgrade.mapper.BizArchiveInputDetailUpdateMapper;
import cn.ezhizao.project.business.upgrade.domain.BizArchiveInputDetailUpdate;
import cn.ezhizao.project.business.upgrade.service.IBizArchiveInputDetailUpdateService;

/**
 * 合同明细Service业务层处理
 *
 * @author ruoyi
 * @date 2024-10-14
 */
@Service
public class BizArchiveInputDetailUpdateServiceImpl  extends ServiceImpl<BizArchiveInputDetailUpdateMapper, BizArchiveInputDetailUpdate> implements IBizArchiveInputDetailUpdateService
{
    @Resource
    private BizArchiveInputDetailUpdateMapper bizArchiveInputDetailUpdateMapper;

    /**
     * 查询合同明细列表
     *
     * @param bizArchiveInputDetailUpdate 合同明细
     * @return 合同明细
     */
    @Override
    public List<BizArchiveInputDetailUpdate> getList(BizArchiveInputDetailUpdate bizArchiveInputDetailUpdate)
    {
        return bizArchiveInputDetailUpdateMapper.getList(bizArchiveInputDetailUpdate);
    }

    /**
     * 物理删除
     * @param bizArchiveInputDetailUpdate
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizArchiveInputDetailUpdate bizArchiveInputDetailUpdate){ return bizArchiveInputDetailUpdateMapper.physicalDelete(bizArchiveInputDetailUpdate); };
    @Override
    public BizArchiveInputDetailUpdate getDetail(BizArchiveInputDetailUpdate detail){
        return bizArchiveInputDetailUpdateMapper.getDetail(detail);
    }
    public List<Long> selectByTaskIdAndCompanyId(Long companyId,List<Long>taskIds){
        return bizArchiveInputDetailUpdateMapper.selectByTaskIdAndCompanyId(companyId,taskIds);
    }

    @Override
    public List<BizArchiveInputDetail> selectByUpgradeId(BizArchiveInputDetailUpdate bizArchiveInputDetailUpdate) {
        return bizArchiveInputDetailUpdateMapper.selectByUpgradeId(bizArchiveInputDetailUpdate);
    }
}
