package com.dxhy.jxpt.baseService.sign.service.singletable.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.dxhy.common.service.impl.MpBaseServiceImpl;
import com.dxhy.jxpt.baseService.sign.dao.SignCheckInvoiceDetailDao;
import com.dxhy.api.model.invoice.invoiceCheck.TdxCheckInvoiceDetail;
import com.dxhy.jxpt.baseService.sign.service.singletable.SignCheckRecordInvoiceDetailService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 
 * 
 * 查验明细业务处理实现类
 *
 * @author ld
 * 
 */
@Service("signCheckRecordInvoiceDetailService")
@Slf4j

public class SignCheckRecordInvoiceDetailServiceImpl extends
    MpBaseServiceImpl<SignCheckInvoiceDetailDao, TdxCheckInvoiceDetail> implements SignCheckRecordInvoiceDetailService {

    @Override
    public List<TdxCheckInvoiceDetail> getInvoiceDetailListByUuid(String uuid) {
        QueryWrapper<TdxCheckInvoiceDetail> queryWrapper = new QueryWrapper<>();
        queryWrapper.eq("uuid", uuid);
        queryWrapper.orderByAsc("detail_no");
        return super.list(queryWrapper);
    }

}
