package com.jwipc.tender.service.impl;

import com.jwipc.tender.entity.TenderDetail;
import com.jwipc.tender.mapper.TenderDetailMapper;
import com.jwipc.tender.service.ITenderDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * <p>
 * 招标项目明细表 服务实现类
 * </p>
 *
 * @author shenyang.ou
 * @since 2024-02-29
 */
@Service
public class TenderDetailServiceImpl extends ServiceImpl<TenderDetailMapper, TenderDetail> implements ITenderDetailService {

    @Override
    public BigDecimal getPurchaseNumAmountByBillNoAndCode(String purchaseBillCode, String purchaseBillItemCode, Long id) {
        return baseMapper.getPurchaseNumAmountByBillNoAndCode(purchaseBillCode,purchaseBillItemCode,id);
    }
}
