From 954b189bfbb364dec0aad30051ec1a20707dfe20 Mon Sep 17 00:00:00 2001 From: ky <592468495@qq.com> Date: Tue, 9 Jun 2020 15:20:22 +0800 Subject: [PATCH] p --- src/main/java/com/gszc/service/impl/InvoiceServiceImpl.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gszc/service/impl/InvoiceServiceImpl.java b/src/main/java/com/gszc/service/impl/InvoiceServiceImpl.java index 83e9b16..bd9e4b1 100644 --- a/src/main/java/com/gszc/service/impl/InvoiceServiceImpl.java +++ b/src/main/java/com/gszc/service/impl/InvoiceServiceImpl.java @@ -76,8 +76,9 @@ public class InvoiceServiceImpl extends ServiceImpl impl String invoiceType; String taxType; - JSONObject jsonObject = countService.VATCount(custom.getRegisterType(), invoice.getInvoiceType(), "1", money.doubleValue()); - BigDecimal money1 = jsonObject.getBigDecimal("money"); +// JSONObject jsonObject = countService.VATCount(custom.getRegisterType(), invoice.getInvoiceType(), "1", money.doubleValue()); + JSONObject jsonObject = countService.VATSurchargeCount(money.toString()); + BigDecimal money1 = jsonObject.getBigDecimal("result"); invoice.setTaxMoney(money1.toString()); } catch (Exception e) { e.printStackTrace();