|
@@ -223,7 +223,7 @@ public class BillServiceImpl extends ServiceImpl<BillMapper, Bill> implements IB
|
223
|
223
|
|
224
|
224
|
iBillInvoiceService.saveBatch(billInvoices);
|
225
|
225
|
billInvoices = billInvoices.stream().map(e -> e.setOutTradeNo(String.valueOf(System.currentTimeMillis()) + e.getId())).collect(Collectors.toList());
|
226
|
|
- iBillInvoiceService.saveBatch(billInvoices);
|
|
226
|
+ iBillInvoiceService.updateBatchById(billInvoices);
|
227
|
227
|
responseBean.addSuccess("操作成功!");
|
228
|
228
|
} else {
|
229
|
229
|
responseBean.addError("操作失败!");
|