Commit d6e99f93 authored by jiaorz's avatar jiaorz

发票接口

parent f3f36e29
...@@ -96,7 +96,7 @@ public class OrderInvoiceBiz extends BaseBiz<OrderInvoiceMapper, OrderInvoice> { ...@@ -96,7 +96,7 @@ public class OrderInvoiceBiz extends BaseBiz<OrderInvoiceMapper, OrderInvoice> {
Set<OrderInvoice> set = new HashSet<>(); Set<OrderInvoice> set = new HashSet<>();
String[] orderIdArray = orderIds.split(","); String[] orderIdArray = orderIds.split(",");
if (orderIdArray.length > 0) { if (orderIdArray.length > 0) {
for (int a = 0; a <= orderIdArray.length; a++) { for (int a = 0; a <= orderIdArray.length -1; a++) {
OrderInvoice orderInvoice = selectByUserIdAndOrderId(appUserDTO.getUserid(), Integer.parseInt(orderIdArray[a])).getData(); OrderInvoice orderInvoice = selectByUserIdAndOrderId(appUserDTO.getUserid(), Integer.parseInt(orderIdArray[a])).getData();
if(orderInvoice != null) { if(orderInvoice != null) {
set.add(orderInvoice); set.add(orderInvoice);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment