package com.sunxung.factoring.service.invoicemanage.impl;

import com.sunxung.factoring.entity.invoicemanage.InvoiceHisInfo;
import com.sunxung.factoring.service.invoicemanage.InvoiceBasicInfoService;
import com.sunxung.factoring.service.invoicemanage.InvoiceFlowService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("sale_invoice_createService")
public class InvoiceFlowServiceImpl implements InvoiceFlowService {

    @Autowired
    InvoiceBasicInfoService invoiceBasicInfoService;

    @Override
    public InvoiceHisInfo getView(Long businessKey) {
        return invoiceBasicInfoService.getDetail(businessKey);
    }
}
