feat: 通过发票获取单据

dev_drug_dmyh250207
chenhc 1 week ago
parent 7c3e59be83
commit 5ad66450c8

@ -127,7 +127,7 @@ public class IoOrderInvoiceService extends ServiceImpl<IoOrderInvoiceMapper, IoO
public String selectBillNoByInvoiceEncode(String code) {
List<IoOrderInvoiceEntity> invoiceEncode = ioOrderInvoiceMapper.selectList(new QueryWrapper<IoOrderInvoiceEntity>().eq("invoiceEncode", code));
if (CollUtil.isNotEmpty(invoiceEncode)) {
return invoiceEncode.get(0).getInvoiceEncode();
return invoiceEncode.get(0).getOrderIdFk();
}
return null;
}

Loading…
Cancel
Save