Commit ccde8947 authored by Quxl's avatar Quxl

x

parent 5b9178d2
...@@ -172,7 +172,7 @@ public class PrformaInvoiceServiceImpl implements PrformaInvoiceService { ...@@ -172,7 +172,7 @@ public class PrformaInvoiceServiceImpl implements PrformaInvoiceService {
} }
Sql headerSql = SqlUtil.insertSql("t_perform_invoice_header", headMap); Sql headerSql = SqlUtil.insertSql("t_perform_invoice_header", headMap);
jdbcTemplate.update(headerSql.getSql(), headerSql.getArgs()); jdbcTemplate.update(headerSql.getSql(), headerSql.getArgs());
Sql itemDataSql = SqlUtil.insertSqlBatch("t_perform_invoice_item", itemDatas); Sql itemDataSql = SqlUtil.insertSqlBatch("t_perform_invoice_item_data", itemDatas);
jdbcTemplate.batchUpdate(itemDataSql.getSql(), itemDataSql.getBachArgs()); jdbcTemplate.batchUpdate(itemDataSql.getSql(), itemDataSql.getBachArgs());
} catch (Exception e) { } catch (Exception e) {
isSuccess = false; isSuccess = false;
......
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