pull/8523/head
Qiuyi LI 2025-04-02 12:14:55 +02:00
parent e8173911ea
commit fb84a342c5
1 changed files with 2 additions and 1 deletions

View File

@ -35,6 +35,7 @@ import java.util.*;
import java.util.stream.Collectors; import java.util.stream.Collectors;
import static org.jeecg.modules.business.entity.Invoice.InvoiceType.COMPLETE; import static org.jeecg.modules.business.entity.Invoice.InvoiceType.COMPLETE;
import static org.jeecg.modules.business.entity.Invoice.InvoiceType.PURCHASE;
/** /**
* @Description: * @Description:
@ -236,7 +237,7 @@ public class PurchaseOrderServiceImpl extends ServiceImpl<PurchaseOrderMapper, P
String purchaseID = UUID.randomUUID().toString(); String purchaseID = UUID.randomUUID().toString();
String invoiceNumber = invoiceNumberReservationService.getLatestInvoiceNumberByType(COMPLETE.getType()); String invoiceNumber = invoiceNumberReservationService.getLatestInvoiceNumberByType(PURCHASE.getType());
// 1. save purchase itself // 1. save purchase itself
purchaseOrderMapper.addPurchase( purchaseOrderMapper.addPurchase(
purchaseID, purchaseID,