|
|
|
@ -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;
|
|
|
|
|
}
|
|
|
|
|